Mercurial > hg > anonet-resdb
annotate contrib/splicex/src/pymake.in @ 899:9b7f52cfc228 draft
s/tgz/tar/
author | d3v11 <d3v11@d3v11.ano> |
---|---|
date | Sat, 28 Jan 2012 02:20:54 +0000 |
parents | 1dcc647991ca |
children |
rev | line source |
---|---|
707
67aa934958cf
SpliceX `make pyinstall*` now `make install`
d3v11 <d3v11@d3v11.ano>
parents:
705
diff
changeset
|
1 install-deb: |
705 | 2 mkdir DEBIAN/splicex |
3 mkdir DEBIAN/splicex/DEBIAN | |
4 mkdir DEBIAN/splicex/usr | |
5 mkdir DEBIAN/splicex/usr/bin | |
6 mkdir DEBIAN/splicex/etc | |
7 mkdir DEBIAN/splicex/etc/splicex | |
8 cp DEBIAN/control DEBIAN/splicex/DEBIAN/control | |
9 cp build/splicex.pyx DEBIAN/splicex/usr/bin/splicex | |
10 cp build/deshadow.pyx DEBIAN/splicex/usr/bin/splicex-deshadow | |
11 chmod +x DEBIAN/splicex/usr/bin/splicex | |
12 chmod +x DEBIAN/splicex/usr/bin/splicex-deshadow | |
13 cp src/splicex.list DEBIAN/splicex/etc/splicex/splicex.list | |
14 cp src/manual DEBIAN/splicex/etc/splicex/splicex.1 | |
15 gzip DEBIAN/splicex/etc/splicex/splicex.1 | |
16 cp src/splicex.L DEBIAN/splicex/etc/splicex/splicex.L | |
17 cp src/splicex.N DEBIAN/splicex/etc/splicex/splicex.N | |
18 cp src/splicex.S DEBIAN/splicex/etc/splicex/splicex.S | |
19 cp src/splicex.LN DEBIAN/splicex/etc/splicex/splicex.LN | |
20 cp src/splicex.LS DEBIAN/splicex/etc/splicex/splicex.LS | |
21 cp src/splicex.NS DEBIAN/splicex/etc/splicex/splicex.NS | |
22 cp src/splicex.ALL DEBIAN/splicex/etc/splicex/splicex.ALL | |
23 dpkg-deb --build DEBIAN/splicex | |
24 dpkg -i DEBIAN/splicex.deb | |
25 rm -rf DEBIAN/splicex DEBIAN/splicex.deb | |
26 | |
707
67aa934958cf
SpliceX `make pyinstall*` now `make install`
d3v11 <d3v11@d3v11.ano>
parents:
705
diff
changeset
|
27 install: |
705 | 28 make preinstall |
29 mkdir /etc/splicex | |
30 cp build/splicex.pyx /usr/bin/splicex | |
31 cp build/deshadow.pyx /usr/bin/splicex-deshadow | |
32 chmod +x /usr/bin/splicex | |
33 chmod +x /usr/bin/splicex-deshadow | |
34 cp src/splicex.list /etc/splicex/splicex.list | |
35 cp src/manual /etc/splicex/splicex.1 | |
36 gzip /etc/splicex/splicex.1 | |
37 cp src/splicex.L /etc/splicex/splicex.L | |
38 cp src/splicex.N /etc/splicex/splicex.N | |
39 cp src/splicex.S /etc/splicex/splicex.S | |
40 cp src/splicex.LN /etc/splicex/splicex.LN | |
41 cp src/splicex.LS /etc/splicex/splicex.LS | |
42 cp src/splicex.NS /etc/splicex/splicex.NS | |
43 cp src/splicex.ALL /etc/splicex/splicex.ALL | |
44 | |
45 uninstall: | |
46 rm -rf /etc/splicex | |
47 rm -f /usr/bin/splicex | |
48 rm -f /usr/bin/splicex-deshadow | |
49 | |
50 clean: | |
831 | 51 rm Makefile DEBIAN/splicex DEBIAN/*.deb build -rf |
705 | 52 |
53 preinstall: | |
54 rm -rf /etc/splicex | |
55 rm -f /usr/bin/splicex | |
56 rm -f /usr/bin/splicex-deshadow | |
57 rm DEBIAN/splicex DEBIAN/*.deb -rf | |
58 | |
59 update: | |
899 | 60 wget http://www.d3v11.ano/splicex.tar |
61 tar -xvf ../splicex.tar --directory='../' | |
62 rm ../splicex.tar |