comparison contrib/splicex/Makefile @ 688:2e33b56d4f0d draft

SpliceX improvements
author resdb <resdb@d3v11-VM.(none)>
date Sun, 23 Oct 2011 08:31:11 -0500
parents a785c7cf4b6a
children
comparison
equal deleted inserted replaced
687:f471a2bca6ff 688:2e33b56d4f0d
1 #!/usr/bin/make -f 1 #!/usr/bin/make -f
2 2
3 install-deb: 3 install-deb:
4 ./configure 4 ./.configure
5 make preclean-deb 5 make preclean-deb
6 mkdir DEBIAN/splicex 6 mkdir DEBIAN/splicex
7 mkdir DEBIAN/splicex/DEBIAN 7 mkdir DEBIAN/splicex/DEBIAN
8 mkdir DEBIAN/splicex/usr 8 mkdir DEBIAN/splicex/usr
9 mkdir DEBIAN/splicex/usr/bin 9 mkdir DEBIAN/splicex/usr/bin
10 mkdir DEBIAN/splicex/etc 10 mkdir DEBIAN/splicex/etc
11 mkdir DEBIAN/splicex/etc/splicex 11 mkdir DEBIAN/splicex/etc/splicex
12 cp DEBIAN/control DEBIAN/splicex/DEBIAN/control 12 cp DEBIAN/control DEBIAN/splicex/DEBIAN/control
13 cp LINUX/splicex.cp DEBIAN/splicex/usr/bin/splicex 13 cp src/splicex.cp DEBIAN/splicex/usr/bin/splicex
14 cp LINUX/splicex-deshadow.cp DEBIAN/splicex/usr/bin/splicex-deshadow 14 cp src/splicex-deshadow.cp DEBIAN/splicex/usr/bin/splicex-deshadow
15 rm -rf LINUX/*.cp 15 rm -rf src/*.cp
16 chmod +x DEBIAN/splicex/usr/bin/splicex 16 chmod +x DEBIAN/splicex/usr/bin/splicex
17 chmod +x DEBIAN/splicex/usr/bin/splicex-deshadow 17 chmod +x DEBIAN/splicex/usr/bin/splicex-deshadow
18 cp SPLICEX/splicex.list DEBIAN/splicex/etc/splicex/splicex.list 18 cp src/splicex.list DEBIAN/splicex/etc/splicex/splicex.list
19 cp LINUX/manual DEBIAN/splicex/etc/splicex/splicex.1 19 cp src/manual DEBIAN/splicex/etc/splicex/splicex.1
20 gzip 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 21 cp src/splicex.L DEBIAN/splicex/etc/splicex/splicex.L
22 cp SPLICEX/splicex.N DEBIAN/splicex/etc/splicex/splicex.N 22 cp src/splicex.N DEBIAN/splicex/etc/splicex/splicex.N
23 cp SPLICEX/splicex.S DEBIAN/splicex/etc/splicex/splicex.S 23 cp src/splicex.S DEBIAN/splicex/etc/splicex/splicex.S
24 cp SPLICEX/splicex.LN DEBIAN/splicex/etc/splicex/splicex.LN 24 cp src/splicex.LN DEBIAN/splicex/etc/splicex/splicex.LN
25 cp SPLICEX/splicex.LS DEBIAN/splicex/etc/splicex/splicex.LS 25 cp src/splicex.LS DEBIAN/splicex/etc/splicex/splicex.LS
26 cp SPLICEX/splicex.NS DEBIAN/splicex/etc/splicex/splicex.NS 26 cp src/splicex.NS DEBIAN/splicex/etc/splicex/splicex.NS
27 cp SPLICEX/splicex.ALL DEBIAN/splicex/etc/splicex/splicex.ALL 27 cp src/splicex.ALL DEBIAN/splicex/etc/splicex/splicex.ALL
28 dpkg-deb --build DEBIAN/splicex 28 dpkg-deb --build DEBIAN/splicex
29 dpkg -i DEBIAN/splicex.deb 29 dpkg -i DEBIAN/splicex.deb
30 rm -rf DEBIAN/splicex DEBIAN/splicex.deb 30 rm -rf DEBIAN/splicex DEBIAN/splicex.deb
31 31
32 install: 32 install:
33 ./configure 33 ./.configure
34 make preclean 34 make preclean
35 cp LINUX/splicex.cp /usr/bin/splicex 35 cp src/splicex.cp /usr/bin/splicex
36 cp LINUX/splicex-deshadow.cp /usr/bin/splicex-deshadow 36 cp src/splicex-deshadow.cp /usr/bin/splicex-deshadow
37 rm -rf LINUX/*.cp 37 rm -rf src/*.cp
38 chmod +x /usr/bin/splicex 38 chmod +x /usr/bin/splicex
39 chmod +x /usr/bin/splicex-deshadow 39 chmod +x /usr/bin/splicex-deshadow
40 mkdir /etc/splicex 40 mkdir /etc/splicex
41 cp SPLICEX/splicex.list /etc/splicex/splicex.list 41 cp src/splicex.list /etc/splicex/splicex.list
42 cp LINUX/manual /etc/splicex/splicex.1 42 cp src/manual /etc/splicex/splicex.1
43 gzip /etc/splicex/splicex.1 43 gzip /etc/splicex/splicex.1
44 cp SPLICEX/splicex.L /etc/splicex/splicex.L 44 cp src/splicex.L /etc/splicex/splicex.L
45 cp SPLICEX/splicex.N /etc/splicex/splicex.N 45 cp src/splicex.N /etc/splicex/splicex.N
46 cp SPLICEX/splicex.S /etc/splicex/splicex.S 46 cp src/splicex.S /etc/splicex/splicex.S
47 cp SPLICEX/splicex.LN /etc/splicex/splicex.LN 47 cp src/splicex.LN /etc/splicex/splicex.LN
48 cp SPLICEX/splicex.LS /etc/splicex/splicex.LS 48 cp src/splicex.LS /etc/splicex/splicex.LS
49 cp SPLICEX/splicex.NS /etc/splicex/splicex.NS 49 cp src/splicex.NS /etc/splicex/splicex.NS
50 cp SPLICEX/splicex.ALL /etc/splicex/splicex.ALL 50 cp src/splicex.ALL /etc/splicex/splicex.ALL
51 51
52 uninstall: 52 uninstall:
53 rm -rf /etc/splicex 53 rm -rf /etc/splicex
54 rm -f /usr/bin/splicex 54 rm -f /usr/bin/splicex
55 rm -f /usr/bin/splicex-deshadow 55 rm -f /usr/bin/splicex-deshadow