annotate contrib/splicex/src/pymake.in @ 884:cd9d07046b1c draft

peer2anonet: fix potential for unexecutable rc.local bug, added visual support to README for guys with small terminals.
author d3v11 <d3v11@d3v11.ano>
date Sun, 15 Jan 2012 22:40:56 +0000
parents 1dcc647991ca
children 9b7f52cfc228
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
707
67aa934958cf SpliceX `make pyinstall*` now `make install`
d3v11 <d3v11@d3v11.ano>
parents: 705
diff changeset
1 install-deb:
705
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
2 mkdir DEBIAN/splicex
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
3 mkdir DEBIAN/splicex/DEBIAN
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
4 mkdir DEBIAN/splicex/usr
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
5 mkdir DEBIAN/splicex/usr/bin
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
6 mkdir DEBIAN/splicex/etc
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
7 mkdir DEBIAN/splicex/etc/splicex
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
8 cp DEBIAN/control DEBIAN/splicex/DEBIAN/control
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
9 cp build/splicex.pyx DEBIAN/splicex/usr/bin/splicex
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
10 cp build/deshadow.pyx DEBIAN/splicex/usr/bin/splicex-deshadow
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
11 chmod +x DEBIAN/splicex/usr/bin/splicex
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
12 chmod +x DEBIAN/splicex/usr/bin/splicex-deshadow
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
13 cp src/splicex.list DEBIAN/splicex/etc/splicex/splicex.list
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
14 cp src/manual DEBIAN/splicex/etc/splicex/splicex.1
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
15 gzip DEBIAN/splicex/etc/splicex/splicex.1
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
16 cp src/splicex.L DEBIAN/splicex/etc/splicex/splicex.L
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
17 cp src/splicex.N DEBIAN/splicex/etc/splicex/splicex.N
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
18 cp src/splicex.S DEBIAN/splicex/etc/splicex/splicex.S
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
19 cp src/splicex.LN DEBIAN/splicex/etc/splicex/splicex.LN
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
20 cp src/splicex.LS DEBIAN/splicex/etc/splicex/splicex.LS
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
21 cp src/splicex.NS DEBIAN/splicex/etc/splicex/splicex.NS
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
22 cp src/splicex.ALL DEBIAN/splicex/etc/splicex/splicex.ALL
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
23 dpkg-deb --build DEBIAN/splicex
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
24 dpkg -i DEBIAN/splicex.deb
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
25 rm -rf DEBIAN/splicex DEBIAN/splicex.deb
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
26
707
67aa934958cf SpliceX `make pyinstall*` now `make install`
d3v11 <d3v11@d3v11.ano>
parents: 705
diff changeset
27 install:
705
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
28 make preinstall
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
29 mkdir /etc/splicex
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
30 cp build/splicex.pyx /usr/bin/splicex
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
31 cp build/deshadow.pyx /usr/bin/splicex-deshadow
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
32 chmod +x /usr/bin/splicex
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
33 chmod +x /usr/bin/splicex-deshadow
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
34 cp src/splicex.list /etc/splicex/splicex.list
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
35 cp src/manual /etc/splicex/splicex.1
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
36 gzip /etc/splicex/splicex.1
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
37 cp src/splicex.L /etc/splicex/splicex.L
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
38 cp src/splicex.N /etc/splicex/splicex.N
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
39 cp src/splicex.S /etc/splicex/splicex.S
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
40 cp src/splicex.LN /etc/splicex/splicex.LN
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
41 cp src/splicex.LS /etc/splicex/splicex.LS
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
42 cp src/splicex.NS /etc/splicex/splicex.NS
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
43 cp src/splicex.ALL /etc/splicex/splicex.ALL
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
44
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
45 uninstall:
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
46 rm -rf /etc/splicex
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
47 rm -f /usr/bin/splicex
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
48 rm -f /usr/bin/splicex-deshadow
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
49
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
50 clean:
831
1dcc647991ca fixed build dir bug
d3v11 <d3v11@d3v11.ano>
parents: 707
diff changeset
51 rm Makefile DEBIAN/splicex DEBIAN/*.deb build -rf
705
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
52
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
53 preinstall:
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
54 rm -rf /etc/splicex
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
55 rm -f /usr/bin/splicex
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
56 rm -f /usr/bin/splicex-deshadow
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
57 rm DEBIAN/splicex DEBIAN/*.deb -rf
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
58
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
59 update:
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
60 wget http://www.d3v11.ano/splicex.tgz
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
61 tar -xvf ../splicex.tgz --directory='../'
dc8f88270f6a SpliceX update: pyinstall added
d3v11 <d3v11@d3v11.ano>
parents:
diff changeset
62 rm ../splicex.tgz