annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
678
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
1 #!/usr/bin/make -f
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
2
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
3 install-deb:
688
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
4 ./.configure
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 678
diff changeset
5 make preclean-deb
678
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
6 mkdir DEBIAN/splicex
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
7 mkdir DEBIAN/splicex/DEBIAN
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
8 mkdir DEBIAN/splicex/usr
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
9 mkdir DEBIAN/splicex/usr/bin
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
10 mkdir DEBIAN/splicex/etc
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
11 mkdir DEBIAN/splicex/etc/splicex
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
12 cp DEBIAN/control DEBIAN/splicex/DEBIAN/control
688
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
13 cp src/splicex.cp DEBIAN/splicex/usr/bin/splicex
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
14 cp src/splicex-deshadow.cp DEBIAN/splicex/usr/bin/splicex-deshadow
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
15 rm -rf src/*.cp
678
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
16 chmod +x DEBIAN/splicex/usr/bin/splicex
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
17 chmod +x DEBIAN/splicex/usr/bin/splicex-deshadow
688
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
18 cp src/splicex.list DEBIAN/splicex/etc/splicex/splicex.list
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
19 cp src/manual DEBIAN/splicex/etc/splicex/splicex.1
678
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
20 gzip DEBIAN/splicex/etc/splicex/splicex.1
688
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
21 cp src/splicex.L DEBIAN/splicex/etc/splicex/splicex.L
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
22 cp src/splicex.N DEBIAN/splicex/etc/splicex/splicex.N
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
23 cp src/splicex.S DEBIAN/splicex/etc/splicex/splicex.S
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
24 cp src/splicex.LN DEBIAN/splicex/etc/splicex/splicex.LN
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
25 cp src/splicex.LS DEBIAN/splicex/etc/splicex/splicex.LS
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
26 cp src/splicex.NS DEBIAN/splicex/etc/splicex/splicex.NS
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
27 cp src/splicex.ALL DEBIAN/splicex/etc/splicex/splicex.ALL
678
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
28 dpkg-deb --build DEBIAN/splicex
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
29 dpkg -i DEBIAN/splicex.deb
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
30 rm -rf DEBIAN/splicex DEBIAN/splicex.deb
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
31
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
32 install:
688
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
33 ./.configure
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 678
diff changeset
34 make preclean
688
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
35 cp src/splicex.cp /usr/bin/splicex
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
36 cp src/splicex-deshadow.cp /usr/bin/splicex-deshadow
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
37 rm -rf src/*.cp
678
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
38 chmod +x /usr/bin/splicex
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
39 chmod +x /usr/bin/splicex-deshadow
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
40 mkdir /etc/splicex
688
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
41 cp src/splicex.list /etc/splicex/splicex.list
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
42 cp src/manual /etc/splicex/splicex.1
678
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
43 gzip /etc/splicex/splicex.1
688
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
44 cp src/splicex.L /etc/splicex/splicex.L
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
45 cp src/splicex.N /etc/splicex/splicex.N
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
46 cp src/splicex.S /etc/splicex/splicex.S
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
47 cp src/splicex.LN /etc/splicex/splicex.LN
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
48 cp src/splicex.LS /etc/splicex/splicex.LS
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
49 cp src/splicex.NS /etc/splicex/splicex.NS
2e33b56d4f0d SpliceX improvements
resdb <resdb@d3v11-VM.(none)>
parents: 682
diff changeset
50 cp src/splicex.ALL /etc/splicex/splicex.ALL
678
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
51
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
52 uninstall:
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
53 rm -rf /etc/splicex
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
54 rm -f /usr/bin/splicex
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
55 rm -f /usr/bin/splicex-deshadow
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
56
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
57 clean:
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
58 rm DEBIAN/splicex DEBIAN/*.deb -rf
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
59
681
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 678
diff changeset
60 preclean:
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 678
diff changeset
61 rm -rf /etc/splicex
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 678
diff changeset
62 rm -f /usr/bin/splicex
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 678
diff changeset
63 rm -f /usr/bin/splicex-deshadow
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 678
diff changeset
64
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 678
diff changeset
65 preclean-deb:
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 678
diff changeset
66 rm DEBIAN/splicex DEBIAN/*.deb -rf
14a390660911 splicex additions made
resdb <resdb@d3v11-VM.(none)>
parents: 678
diff changeset
67
678
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
68 update:
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
69 wget http://www.d3v11.ano/splicex.tgz
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
70 tar -xvf ../splicex.tgz --directory='../'
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
71 rm ../splicex.tgz