705
|
1 pyinstall-deb:
|
|
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
|
|
27 pyinstall:
|
|
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:
|
|
51 rm Makefile DEBIAN/splicex DEBIAN/*.deb build/* -rf
|
|
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:
|
|
60 wget http://www.d3v11.ano/splicex.tgz
|
|
61 tar -xvf ../splicex.tgz --directory='../'
|
|
62 rm ../splicex.tgz
|