Création d'un paquet pour B2UConverter.
[macros-openoffice.git] / libreoffice-images-embedder / Makefile
CommitLineData
d2eba06a
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 = ImagesEmbedder-1.0.0.oxt
6
7b4557ff
P
7EXTDIR = /usr/lib/libreoffice/share/extensions
8
9obsolete:
10 @echo ""
11 @echo "*** Cette extension est obsolete depuis LibreOffice 4.2."
12 @echo ""
13 @exit 1
14
d2eba06a
P
15all: build
16
17build:
18
19install:
7b4557ff
P
20 install -m 0755 -d $(DESTDIR)$(EXTDIR)/$(PACKAGE)
21 unzip $(EXTENSION) -d $(DESTDIR)$(EXTDIR)/$(PACKAGE)/
d2eba06a
P
22
23clean:
24
25deb:
26 debuild -I.git -I*.ex -us -uc -b && \
27 echo -e "\n\n==> Lancer \"sudo debi\" pour tester l'installation.\n"
28
29release:
30 debuild -I.git -I*.ex -us -uc -tc -sa && debrelease --dput $(DIST)-test