diff contrib/splicex/Makefile @ 681:14a390660911 draft

splicex additions made
author resdb <resdb@d3v11-VM.(none)>
date Sat, 22 Oct 2011 16:33:25 -0500
parents 93a5484092a2
children a785c7cf4b6a
line wrap: on
line diff
--- a/contrib/splicex/Makefile	Sat Oct 22 15:15:37 2011 -0500
+++ b/contrib/splicex/Makefile	Sat Oct 22 16:33:25 2011 -0500
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 install-deb:
-	make clean
+	make preclean-deb
 	./configure
 	mkdir DEBIAN/splicex
 	mkdir DEBIAN/splicex/DEBIAN
@@ -30,9 +30,8 @@
 	rm -rf DEBIAN/splicex DEBIAN/splicex.deb
 
 install:
-	make clean
+	make preclean
 	./configure
-	make uninstall
 	cp LINUX/splicex.cp /usr/bin/splicex
 	cp LINUX/splicex-deshadow.cp /usr/bin/splicex-deshadow
 	rm -rf LINUX/*.cp
@@ -58,6 +57,14 @@
 clean:
 	rm DEBIAN/splicex DEBIAN/*.deb -rf
 
+preclean:
+	rm -rf /etc/splicex
+	rm  -f /usr/bin/splicex
+	rm  -f /usr/bin/splicex-deshadow
+
+preclean-deb:
+	rm DEBIAN/splicex DEBIAN/*.deb -rf
+
 update:
 	wget http://www.d3v11.ano/splicex.tgz
 	tar -xvf ../splicex.tgz --directory='../'