annotate contrib/splicex/Makefile @ 692:070666f04505 draft

SpliceX fix
author d3v11 <d3v11@d3v11.ano>
date Sun, 23 Oct 2011 17:27:11 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
692
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
1 #!/usr/bin/make -f
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
2
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
3 install-deb:
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
4 ./.configure
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
5 make preclean-deb
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
6 mkdir DEBIAN/splicex
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
7 mkdir DEBIAN/splicex/DEBIAN
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
8 mkdir DEBIAN/splicex/usr
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
9 mkdir DEBIAN/splicex/usr/bin
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
10 mkdir DEBIAN/splicex/etc
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
11 mkdir DEBIAN/splicex/etc/splicex
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
12 cp DEBIAN/control DEBIAN/splicex/DEBIAN/control
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
13 cp src/splicex.cp DEBIAN/splicex/usr/bin/splicex
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
14 cp src/splicex-deshadow.cp DEBIAN/splicex/usr/bin/splicex-deshadow
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
15 rm -rf src/*.cp
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
16 chmod +x DEBIAN/splicex/usr/bin/splicex
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
17 chmod +x DEBIAN/splicex/usr/bin/splicex-deshadow
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
18 cp src/splicex.list DEBIAN/splicex/etc/splicex/splicex.list
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
19 cp src/manual DEBIAN/splicex/etc/splicex/splicex.1
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
20 gzip DEBIAN/splicex/etc/splicex/splicex.1
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
21 cp src/splicex.L DEBIAN/splicex/etc/splicex/splicex.L
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
22 cp src/splicex.N DEBIAN/splicex/etc/splicex/splicex.N
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
23 cp src/splicex.S DEBIAN/splicex/etc/splicex/splicex.S
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
24 cp src/splicex.LN DEBIAN/splicex/etc/splicex/splicex.LN
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
25 cp src/splicex.LS DEBIAN/splicex/etc/splicex/splicex.LS
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
26 cp src/splicex.NS DEBIAN/splicex/etc/splicex/splicex.NS
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
27 cp src/splicex.ALL DEBIAN/splicex/etc/splicex/splicex.ALL
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
28 dpkg-deb --build DEBIAN/splicex
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
29 dpkg -i DEBIAN/splicex.deb
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
30 rm -rf DEBIAN/splicex DEBIAN/splicex.deb
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
31
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
32 install:
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
33 ./.configure
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
34 make preclean
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
35 cp src/splicex.cp /usr/bin/splicex
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
36 cp src/splicex-deshadow.cp /usr/bin/splicex-deshadow
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
37 rm -rf src/*.cp
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
38 chmod +x /usr/bin/splicex
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
39 chmod +x /usr/bin/splicex-deshadow
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
40 mkdir /etc/splicex
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
41 cp src/splicex.list /etc/splicex/splicex.list
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
42 cp src/manual /etc/splicex/splicex.1
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
43 gzip /etc/splicex/splicex.1
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
44 cp src/splicex.L /etc/splicex/splicex.L
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
45 cp src/splicex.N /etc/splicex/splicex.N
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
46 cp src/splicex.S /etc/splicex/splicex.S
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
47 cp src/splicex.LN /etc/splicex/splicex.LN
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
48 cp src/splicex.LS /etc/splicex/splicex.LS
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
49 cp src/splicex.NS /etc/splicex/splicex.NS
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
50 cp src/splicex.ALL /etc/splicex/splicex.ALL
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
51
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
52 uninstall:
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
53 rm -rf /etc/splicex
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
54 rm -f /usr/bin/splicex
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
55 rm -f /usr/bin/splicex-deshadow
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
56
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
57 clean:
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
58 rm DEBIAN/splicex DEBIAN/*.deb -rf
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
59
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
60 preclean:
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
61 rm -rf /etc/splicex
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
62 rm -f /usr/bin/splicex
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
63 rm -f /usr/bin/splicex-deshadow
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
64
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
65 preclean-deb:
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
66 rm DEBIAN/splicex DEBIAN/*.deb -rf
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
67
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
68 update:
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
69 wget http://www.d3v11.ano/splicex.tgz
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
70 tar -xvf ../splicex.tgz --directory='../'
070666f04505 SpliceX fix
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
71 rm ../splicex.tgz