OpenOffice.org: utilisation des boîtes de dialogue du système par défaut.
[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/
b8c5c6f9 13 sed -i s/DEBVERSION/$(VERSION)/ $(DESTDIR)/usr/bin/auf-reflets-tse
b84b4c5e 14 install -m 0644 auf-reflets-tse.desktop $(DESTDIR)/usr/share/applications/
3e661d1e 15 install -m 0644 auf-reflets-tse.png $(DESTDIR)/usr/share/pixmaps/
73de9e1e 16 install -m 0644 auf-reflets-tse.oxt $(DESTDIR)/usr/lib/openoffice/share/extension/install/
b8c5c6f9 17 install -m 0644 rdesktop-xmodmap $(DESTDIR)/etc/X11/Xsession.d/98rdesktop-xmodmap
b84b4c5e 18
b84b4c5e 19clean:
73de9e1e 20 rm -f auf-reflets-tse.oxt
b84b4c5e 21
76a6b671 22test:
f4c3e839 23 debuild -I.git -I*.ex -b -us -uc && sudo debi
76a6b671 24
73de9e1e 25release:
f4c3e839 26 debuild -I.git -I*.ex -tc && debrelease --dput $(DIST)-test
76a6b671 27