PACKAGE = $(shell dpkg-parsechangelog | sed -n 's/^Source: //p') VERSION = $(shell dpkg-parsechangelog | sed -n 's/^Version: //p') DIST = $(shell dpkg-parsechangelog | sed -n 's/^Distribution: //p') all: clean: install: install -d -m 0755 $(DESTDIR)/usr/share/glpi/plugins cp -a plugin $(DESTDIR)/usr/share/glpi/plugins/auf deb: debuild -I.git -I*.ex -us -uc -b && \ echo -e "\n\n==> Lancer \"sudo debi\" pour tester l'installation.\n" release: debuild -I.git -I*.ex -tc -sa -us -uc && debrelease --dput wheezy-test