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 rm -f
*.global liste-serveurs pourwiki.txt
10 install: install-keys install-create install-copy
13 mkdir
-p
$(DESTDIR
)/usr
/share
/asterisk
/keys
14 cp keys
/*.pub
$(DESTDIR
)/usr
/share
/asterisk
/keys
/
15 chown root.root
$(DESTDIR
)/usr
/share
/asterisk
/keys
/*.pub
22 mkdir
-p
$(DESTDIR
)/etc
/asterisk
/auf
23 cp
-f
-a
*.global
$(DESTDIR
)/etc
/asterisk
/auf
/
24 mkdir
-p
$(DESTDIR
)/usr
/share
/doc
/asterisk-config-auf-connexions
/
25 cp liste-serveurs liste-serveurs-canon
$(DESTDIR
)/usr
/share
/doc
/asterisk-config-auf-connexions
/
28 debuild
-I.git
-I
*.ex
-us
-uc
-b
&& \
29 echo
-e
"\n\n==> Lancer \"sudo debi\" pour tester l'installation.\n"
32 debuild
-I.git
-I
*.ex
-us
-uc
-tc
-sa
&& debrelease
--dput wheezy-test