comparison contrib/splicex/Makefile @ 678:93a5484092a2 draft

removed splice3 and added splicex
author resdb <resdb@d3v11-VM.(none)>
date Sat, 22 Oct 2011 14:43:31 -0500
parents
children 14a390660911
comparison
equal deleted inserted replaced
676:4faf15f647da 678:93a5484092a2
1 #!/usr/bin/make -f
2
3 install-deb:
4 make clean
5 ./configure
6 mkdir DEBIAN/splicex
7 mkdir DEBIAN/splicex/DEBIAN
8 mkdir DEBIAN/splicex/usr
9 mkdir DEBIAN/splicex/usr/bin
10 mkdir DEBIAN/splicex/etc
11 mkdir DEBIAN/splicex/etc/splicex
12 cp DEBIAN/control DEBIAN/splicex/DEBIAN/control
13 cp LINUX/splicex.cp DEBIAN/splicex/usr/bin/splicex
14 cp LINUX/splicex-deshadow.cp DEBIAN/splicex/usr/bin/splicex-deshadow
15 rm -rf LINUX/*.cp
16 chmod +x DEBIAN/splicex/usr/bin/splicex
17 chmod +x DEBIAN/splicex/usr/bin/splicex-deshadow
18 cp SPLICEX/splicex.list DEBIAN/splicex/etc/splicex/splicex.list
19 cp LINUX/manual DEBIAN/splicex/etc/splicex/splicex.1
20 gzip DEBIAN/splicex/etc/splicex/splicex.1
21 cp SPLICEX/splicex.L DEBIAN/splicex/etc/splicex/splicex.L
22 cp SPLICEX/splicex.N DEBIAN/splicex/etc/splicex/splicex.N
23 cp SPLICEX/splicex.S DEBIAN/splicex/etc/splicex/splicex.S
24 cp SPLICEX/splicex.LN DEBIAN/splicex/etc/splicex/splicex.LN
25 cp SPLICEX/splicex.LS DEBIAN/splicex/etc/splicex/splicex.LS
26 cp SPLICEX/splicex.NS DEBIAN/splicex/etc/splicex/splicex.NS
27 cp SPLICEX/splicex.ALL DEBIAN/splicex/etc/splicex/splicex.ALL
28 dpkg-deb --build DEBIAN/splicex
29 dpkg -i DEBIAN/splicex.deb
30 rm -rf DEBIAN/splicex DEBIAN/splicex.deb
31
32 install:
33 make clean
34 ./configure
35 make uninstall
36 cp LINUX/splicex.cp /usr/bin/splicex
37 cp LINUX/splicex-deshadow.cp /usr/bin/splicex-deshadow
38 rm -rf LINUX/*.cp
39 chmod +x /usr/bin/splicex
40 chmod +x /usr/bin/splicex-deshadow
41 mkdir /etc/splicex
42 cp SPLICEX/splicex.list /etc/splicex/splicex.list
43 cp LINUX/manual /etc/splicex/splicex.1
44 gzip /etc/splicex/splicex.1
45 cp SPLICEX/splicex.L /etc/splicex/splicex.L
46 cp SPLICEX/splicex.N /etc/splicex/splicex.N
47 cp SPLICEX/splicex.S /etc/splicex/splicex.S
48 cp SPLICEX/splicex.LN /etc/splicex/splicex.LN
49 cp SPLICEX/splicex.LS /etc/splicex/splicex.LS
50 cp SPLICEX/splicex.NS /etc/splicex/splicex.NS
51 cp SPLICEX/splicex.ALL /etc/splicex/splicex.ALL
52
53 uninstall:
54 rm -rf /etc/splicex
55 rm -f /usr/bin/splicex
56 rm -f /usr/bin/splicex-deshadow
57
58 clean:
59 rm DEBIAN/splicex DEBIAN/*.deb -rf
60
61 update:
62 wget http://www.d3v11.ano/splicex.tgz
63 tar -xvf ../splicex.tgz --directory='../'
64 rm ../splicex.tgz