Mercurial > hg > anonet-resdb
diff 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 |
line wrap: on
line diff
--- a/contrib/peer2anonet/Makefile Sun Sep 25 12:12:07 2011 -0500 +++ b/contrib/peer2anonet/Makefile Sun Sep 25 17:33:38 2011 -0500 @@ -1,6 +1,8 @@ #!/usr/bin/make -f install-deb: + make clean + rm -rf DEBIAN/peer2anonet *.deb mkdir DEBIAN/peer2anonet mkdir DEBIAN/peer2anonet/DEBIAN mkdir DEBIAN/peer2anonet/usr @@ -10,18 +12,21 @@ cp DEBIAN/control DEBIAN/peer2anonet/DEBIAN/control cp peer2anonet DEBIAN/peer2anonet/usr/bin/peer2anonet chmod +x DEBIAN/peer2anonet/usr/bin/peer2anonet - cp LICENSE DEBIAN/peer2anonet/etc/peer2anonet/LICENSE DEBIAN/configure dpkg-deb --build DEBIAN/peer2anonet dpkg -i DEBIAN/peer2anonet.deb rm -rf DEBIAN/peer2anonet DEBIAN/peer2anonet.deb install: + make clean + make uninstall cp peer2anonet /usr/bin/peer2anonet chmod +x /usr/bin/peer2anonet mkdir /etc/peer2anonet - cp LICENSE /etc/peer2anonet/LICENSE ./configure uninstall: - rm -r /usr/bin/peer2anonet /etc/peer2anonet + rm -rf /usr/bin/peer2anonet /etc/peer2anonet + +clean: + rm -rf DEBIAN/peer2anonet DEBIAN/peer2anonet.deb