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