comparison contrib/peer2anonet/Makefile @ 536:1bfad7d3fb55 draft

Changed makefile to 'Makefile' in contrib/peer2anonet
author d3v1150m471c <d3v11@d3v1150m471c.ano>
date Sun, 10 Jul 2011 04:39:18 -0500
parents
children 4964136d5043
comparison
equal deleted inserted replaced
535:5965e074d13a 536:1bfad7d3fb55
1 #!/usr/bin/make -f
2
3 install-deb:
4 mkdir DEBIAN/peer2anonet
5 mkdir DEBIAN/peer2anonet/DEBIAN
6 mkdir DEBIAN/peer2anonet/usr
7 mkdir DEBIAN/peer2anonet/usr/bin
8 mkdir DEBIAN/peer2anonet/etc
9 mkdir DEBIAN/peer2anonet/etc/peer2anonet
10 cp DEBIAN/control DEBIAN/peer2anonet/DEBIAN/control
11 cp peer2anonet DEBIAN/peer2anonet/usr/bin/peer2anonet
12 chmod +x DEBIAN/peer2anonet/usr/bin/peer2anonet
13 cp LICENSE DEBIAN/peer2anonet/etc/peer2anonet/LICENSE
14 dpkg-deb --build DEBIAN/peer2anonet
15 dpkg -i DEBIAN/peer2anonet.deb
16 rm -rf DEBIAN/peer2anonet DEBIAN/peer2anonet.deb
17
18 install:
19 cp peer2anonet /usr/bin/peer2anonet
20 chmod +x /usr/bin/peer2anonet
21 mkdir /etc/peer2anonet
22 cp LICENSE /etc/peer2anonet/LICENSE
23
24 uninstall:
25 rm -r /usr/bin/peer2anonet /etc/peer2anonet