Mercurial > hg > anonet-resdb
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 |
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 | 4 ./.configure |
681 | 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 | 13 cp src/splicex.cp DEBIAN/splicex/usr/bin/splicex |
14 cp src/splicex-deshadow.cp DEBIAN/splicex/usr/bin/splicex-deshadow | |
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 | 18 cp src/splicex.list DEBIAN/splicex/etc/splicex/splicex.list |
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 | 21 cp src/splicex.L DEBIAN/splicex/etc/splicex/splicex.L |
22 cp src/splicex.N DEBIAN/splicex/etc/splicex/splicex.N | |
23 cp src/splicex.S DEBIAN/splicex/etc/splicex/splicex.S | |
24 cp src/splicex.LN DEBIAN/splicex/etc/splicex/splicex.LN | |
25 cp src/splicex.LS DEBIAN/splicex/etc/splicex/splicex.LS | |
26 cp src/splicex.NS DEBIAN/splicex/etc/splicex/splicex.NS | |
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 | 33 ./.configure |
681 | 34 make preclean |
688 | 35 cp src/splicex.cp /usr/bin/splicex |
36 cp src/splicex-deshadow.cp /usr/bin/splicex-deshadow | |
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 | 41 cp src/splicex.list /etc/splicex/splicex.list |
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 | 44 cp src/splicex.L /etc/splicex/splicex.L |
45 cp src/splicex.N /etc/splicex/splicex.N | |
46 cp src/splicex.S /etc/splicex/splicex.S | |
47 cp src/splicex.LN /etc/splicex/splicex.LN | |
48 cp src/splicex.LS /etc/splicex/splicex.LS | |
49 cp src/splicex.NS /etc/splicex/splicex.NS | |
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 | 60 preclean: |
61 rm -rf /etc/splicex | |
62 rm -f /usr/bin/splicex | |
63 rm -f /usr/bin/splicex-deshadow | |
64 | |
65 preclean-deb: | |
66 rm DEBIAN/splicex DEBIAN/*.deb -rf | |
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 |