diff contrib/peer2anonet/Makefile @ 550:4964136d5043 draft

peer2anonet: added configuration on install to create env variables. see README for details.
author d3v1150m471c <d3v11@d3v1150m471c.ano>
date Wed, 13 Jul 2011 04:21:57 -0500
parents 1bfad7d3fb55
children 6753fb814c94
line wrap: on
line diff
--- a/contrib/peer2anonet/Makefile	Sun Jul 10 22:41:54 2011 -0500
+++ b/contrib/peer2anonet/Makefile	Wed Jul 13 04:21:57 2011 -0500
@@ -11,6 +11,7 @@
 	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
@@ -20,6 +21,7 @@
 	chmod +x /usr/bin/peer2anonet
 	mkdir /etc/peer2anonet
 	cp LICENSE /etc/peer2anonet/LICENSE
+	./configure
 
 uninstall:
 	rm -r /usr/bin/peer2anonet /etc/peer2anonet