Commit | Line | Data |
---|---|---|
277feb35 P |
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 | all: | |
6 | ||
7 | clean: | |
8 | ||
9 | install: | |
10 | install -d -m 0755 $(DESTDIR)/usr/share/glpi/plugins | |
11 | cp -a plugin $(DESTDIR)/usr/share/glpi/plugins/auf | |
12 | ||
13 | deb: | |
14 | debuild -I.git -I*.ex -us -uc -b && \ | |
15 | echo -e "\n\n==> Lancer \"sudo debi\" pour tester l'installation.\n" | |
16 | ||
17 | release: | |
18 | debuild -I.git -I*.ex -tc -sa -us -uc && debrelease --dput wheezy-test |