De retour de congés...
[macros-openoffice.git] / auf-poste-client-reflets / Makefile
CommitLineData
73de9e1e 1VERSION = $(shell dpkg-parsechangelog | sed -n 's/^Version: //p')
3e661d1e 2DIST = $(shell dpkg-parsechangelog | sed -n 's/^Distribution: //p')
73de9e1e
P
3
4all: build
5
6build:
7 rm -f auf-reflets-tse.oxt
a80ac883 8 sed -i '/^ <version /s/="[^"]*"/="'$(VERSION)'"/' openoffice/description.xml
73de9e1e 9 cd openoffice ; zip -9rpD ../auf-reflets-tse.oxt .
b84b4c5e
TN
10
11install:
12 install -m 0755 auf-reflets-tse $(DESTDIR)/usr/bin/
13 install -m 0644 auf-reflets-tse.desktop $(DESTDIR)/usr/share/applications/
3e661d1e 14 install -m 0644 auf-reflets-tse.png $(DESTDIR)/usr/share/pixmaps/
73de9e1e 15 install -m 0644 auf-reflets-tse.oxt $(DESTDIR)/usr/lib/openoffice/share/extension/install/
b84b4c5e 16
b84b4c5e 17clean:
73de9e1e 18 rm -f auf-reflets-tse.oxt
b84b4c5e 19
76a6b671 20test:
f4c3e839 21 debuild -I.git -I*.ex -b -us -uc && sudo debi
76a6b671 22
73de9e1e 23release:
f4c3e839 24 debuild -I.git -I*.ex -tc && debrelease --dput $(DIST)-test
76a6b671 25