Mercurial > hg > anonet-resdb
changeset 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 | 5965e074d13a |
children | 8e8a01a680b4 |
files | contrib/peer2anonet/Makefile |
diffstat | 1 files changed, 25 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/contrib/peer2anonet/Makefile Sun Jul 10 04:39:18 2011 -0500 @@ -0,0 +1,25 @@ +#!/usr/bin/make -f + +install-deb: + mkdir DEBIAN/peer2anonet + mkdir DEBIAN/peer2anonet/DEBIAN + mkdir DEBIAN/peer2anonet/usr + mkdir DEBIAN/peer2anonet/usr/bin + mkdir DEBIAN/peer2anonet/etc + mkdir DEBIAN/peer2anonet/etc/peer2anonet + 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 + dpkg-deb --build DEBIAN/peer2anonet + dpkg -i DEBIAN/peer2anonet.deb + rm -rf DEBIAN/peer2anonet DEBIAN/peer2anonet.deb + +install: + cp peer2anonet /usr/bin/peer2anonet + chmod +x /usr/bin/peer2anonet + mkdir /etc/peer2anonet + cp LICENSE /etc/peer2anonet/LICENSE + +uninstall: + rm -r /usr/bin/peer2anonet /etc/peer2anonet