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')
8 sed
-i
'/^ <version /s/="[^"]*"/="'$(VERSION
)'"/' extension
/description.xml
11 install -m
0755 -d
$(DESTDIR
)/usr
/lib
/libreoffice
/share
/extensions
/$(PACKAGE
)
12 cp
-a extension
/* $(DESTDIR
)/usr
/lib
/libreoffice
/share
/extensions
/$(PACKAGE
)/
17 debuild
-I.git
-I
*.ex
-us
-uc
-b
&& \
18 echo
-e
"\n\n==> Lancer \"sudo debi\" pour tester l'installation.\n"
21 debuild
-I.git
-I
*.ex
-us
-uc
-tc
-sa
&& debrelease
--dput
$(DIST
)-test