Création d'un paquet pour B2UConverter.
[macros-openoffice.git] / libreoffice-grammalecte / Makefile
1 PACKAGE = $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
2 VERSION = $(shell dpkg-parsechangelog | sed -n 's/^Version: //p')
3 DIST = $(shell dpkg-parsechangelog | sed -n 's/^Distribution: //p')
4
5 EXTENSION = Grammalecte-fr-v0.5.6.oxt
6
7 EXTDIR = /usr/lib/libreoffice/share/extensions
8
9 all: build
10
11 build:
12
13 install:
14 install -m 0755 -d $(DESTDIR)$(EXTDIR)/$(PACKAGE)
15 unzip $(EXTENSION) -d $(DESTDIR)$(EXTDIR)/$(PACKAGE)/
16
17 clean:
18
19 deb:
20 debuild -I.git -I*.ex -us -uc -b && \
21 echo -e "\n\n==> Lancer \"sudo debi\" pour tester l'installation.\n"
22
23 release:
24 debuild -I.git -I*.ex -us -uc -tc -sa && debrelease --dput $(DIST)-test