Mercurial > hg > anonet-resdb
comparison contrib/peer2anonet/Makefile @ 638:6753fb814c94 draft
fixed some problems in peer2anonet
author | d3v11 <d3v11@d3v11.ano> |
---|---|
date | Sun, 25 Sep 2011 17:33:38 -0500 |
parents | 4964136d5043 |
children |
comparison
equal
deleted
inserted
replaced
637:a00766cdaefa | 638:6753fb814c94 |
---|---|
1 #!/usr/bin/make -f | 1 #!/usr/bin/make -f |
2 | 2 |
3 install-deb: | 3 install-deb: |
4 make clean | |
5 rm -rf DEBIAN/peer2anonet *.deb | |
4 mkdir DEBIAN/peer2anonet | 6 mkdir DEBIAN/peer2anonet |
5 mkdir DEBIAN/peer2anonet/DEBIAN | 7 mkdir DEBIAN/peer2anonet/DEBIAN |
6 mkdir DEBIAN/peer2anonet/usr | 8 mkdir DEBIAN/peer2anonet/usr |
7 mkdir DEBIAN/peer2anonet/usr/bin | 9 mkdir DEBIAN/peer2anonet/usr/bin |
8 mkdir DEBIAN/peer2anonet/etc | 10 mkdir DEBIAN/peer2anonet/etc |
9 mkdir DEBIAN/peer2anonet/etc/peer2anonet | 11 mkdir DEBIAN/peer2anonet/etc/peer2anonet |
10 cp DEBIAN/control DEBIAN/peer2anonet/DEBIAN/control | 12 cp DEBIAN/control DEBIAN/peer2anonet/DEBIAN/control |
11 cp peer2anonet DEBIAN/peer2anonet/usr/bin/peer2anonet | 13 cp peer2anonet DEBIAN/peer2anonet/usr/bin/peer2anonet |
12 chmod +x DEBIAN/peer2anonet/usr/bin/peer2anonet | 14 chmod +x DEBIAN/peer2anonet/usr/bin/peer2anonet |
13 cp LICENSE DEBIAN/peer2anonet/etc/peer2anonet/LICENSE | |
14 DEBIAN/configure | 15 DEBIAN/configure |
15 dpkg-deb --build DEBIAN/peer2anonet | 16 dpkg-deb --build DEBIAN/peer2anonet |
16 dpkg -i DEBIAN/peer2anonet.deb | 17 dpkg -i DEBIAN/peer2anonet.deb |
17 rm -rf DEBIAN/peer2anonet DEBIAN/peer2anonet.deb | 18 rm -rf DEBIAN/peer2anonet DEBIAN/peer2anonet.deb |
18 | 19 |
19 install: | 20 install: |
21 make clean | |
22 make uninstall | |
20 cp peer2anonet /usr/bin/peer2anonet | 23 cp peer2anonet /usr/bin/peer2anonet |
21 chmod +x /usr/bin/peer2anonet | 24 chmod +x /usr/bin/peer2anonet |
22 mkdir /etc/peer2anonet | 25 mkdir /etc/peer2anonet |
23 cp LICENSE /etc/peer2anonet/LICENSE | |
24 ./configure | 26 ./configure |
25 | 27 |
26 uninstall: | 28 uninstall: |
27 rm -r /usr/bin/peer2anonet /etc/peer2anonet | 29 rm -rf /usr/bin/peer2anonet /etc/peer2anonet |
30 | |
31 clean: | |
32 rm -rf DEBIAN/peer2anonet DEBIAN/peer2anonet.deb |