summaryrefslogtreecommitdiff
path: root/contrib/peer2anonet/Makefile
diff options
context:
space:
mode:
authorNick <nick@somerandomnick.ano>2011-10-04 22:39:25 +0000
committerNick <nick@somerandomnick.ano>2011-10-04 22:39:25 +0000
commit0d309b4409c2981638b66486879600134ae69159 (patch)
treee1395616bfa1d2c3b3e20f9fe84537af12c6d7a6 /contrib/peer2anonet/Makefile
parent991b826386541721b715b10cd562e55957b026fb (diff)
parent9d96abc29951a43d8319743f485b48846318496e (diff)
downloadresdb-0d309b4409c2981638b66486879600134ae69159.tar.gz
resdb-0d309b4409c2981638b66486879600134ae69159.zip
Merge commit '9d96abc29951a43d8319743f485b48846318496e'
Diffstat (limited to 'contrib/peer2anonet/Makefile')
-rw-r--r--contrib/peer2anonet/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/contrib/peer2anonet/Makefile b/contrib/peer2anonet/Makefile
index e040bf5..b3d0ee5 100644
--- a/contrib/peer2anonet/Makefile
+++ b/contrib/peer2anonet/Makefile
@@ -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 @@ install-deb:
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