summaryrefslogtreecommitdiff
path: root/contrib/splicex/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/splicex/Makefile')
-rw-r--r--contrib/splicex/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/contrib/splicex/Makefile b/contrib/splicex/Makefile
index 6ea7aac..51a9a72 100644
--- a/contrib/splicex/Makefile
+++ b/contrib/splicex/Makefile
@@ -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 @@ install-deb:
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 @@ uninstall:
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='../'