version 1:1.8.1 -- branche pour le support Asterisk 1.8 sur Wheezy
[asterisk-config-auf-connexions.git] / Makefile
CommitLineData
09b60b7a
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
0afa8158
TN
5all:
6
7clean:
e3100202 8 rm -f *.global liste-serveurs pourwiki.txt
0afa8158
TN
9
10install: install-keys install-create install-copy
11
12install-keys:
0afa8158 13 mkdir -p $(DESTDIR)/usr/share/asterisk/keys
49bb45c5 14 cp keys/*.pub $(DESTDIR)/usr/share/asterisk/keys/
0afa8158
TN
15 chown root.root $(DESTDIR)/usr/share/asterisk/keys/*.pub
16
17install-create:
18 rm -f *.conf
19 ./creer-fichiers
20
21install-copy:
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/
49bb45c5 25 cp liste-serveurs liste-serveurs-canon $(DESTDIR)/usr/share/doc/asterisk-config-auf-connexions/
0afa8158 26
6659254c 27deb:
09b60b7a 28 debuild -I.git -I*.ex -us -uc -b && \
6659254c
P
29 echo -e "\n\n==> Lancer \"sudo debi\" pour tester l'installation.\n"
30
31release:
09b60b7a 32 debuild -I.git -I*.ex -us -uc -tc -sa && debrelease --dput wheezy-test
6659254c 33