Mercurial > hg > anonet-resdb
annotate contrib/splice3/Makefile @ 628:9963921d4cfa draft
changes Makefile on splice3
author | d3v11 <d3v11@d3v11.ano> |
---|---|
date | Fri, 23 Sep 2011 00:43:37 -0500 |
parents | f6a665ac58ca |
children | cf439d987f34 |
rev | line source |
---|---|
626 | 1 #!/usr/bin/make -f |
2 | |
3 install-deb: | |
4 make clean | |
5 mkdir DEBIAN/splice3 | |
6 mkdir DEBIAN/splice3/DEBIAN | |
7 mkdir DEBIAN/splice3/usr | |
8 mkdir DEBIAN/splice3/usr/bin | |
9 mkdir DEBIAN/splice3/etc | |
10 mkdir DEBIAN/splice3/etc/splice3 | |
11 cp DEBIAN/control DEBIAN/splice3/DEBIAN/control | |
12 ./LINUX/splice3.compile | |
13 mv LINUX/splice3.pyc DEBIAN/splice3/usr/bin/splice3 | |
14 mv LINUX/splice3-deshadow.pyc DEBIAN/splice3/usr/bin/splice3-deshadow | |
15 chmod +x DEBIAN/splice3/usr/bin/splice3 | |
16 chmod +x DEBIAN/splice3/usr/bin/splice3-deshadow | |
17 cp SPLICE3/splice3.list DEBIAN/splice3/etc/splice3/splice3.list | |
627
f6a665ac58ca
fixed LICENSE on Makefile in splice3
d3v11 <d3v11@d3v11.ano>
parents:
626
diff
changeset
|
18 #cp LINUX/manual DEBIAN/splice3/etc/splice3/splice3.1 |
626 | 19 gzip DEBIAN/splice3/etc/splice3/splice3.1 |
627
f6a665ac58ca
fixed LICENSE on Makefile in splice3
d3v11 <d3v11@d3v11.ano>
parents:
626
diff
changeset
|
20 #cp SPLICE3/LICENSE DEBIAN/splice3/etc/splice3/LICENSE |
626 | 21 cp SPLICE3/splice3.L DEBIAN/splice3/etc/splice3/splice3.L |
22 cp SPLICE3/splice3.N DEBIAN/splice3/etc/splice3/splice3.N | |
23 cp SPLICE3/splice3.S DEBIAN/splice3/etc/splice3/splice3.S | |
24 cp SPLICE3/splice3.LN DEBIAN/splice3/etc/splice3/splice3.LN | |
25 cp SPLICE3/splice3.LS DEBIAN/splice3/etc/splice3/splice3.LS | |
26 cp SPLICE3/splice3.NS DEBIAN/splice3/etc/splice3/splice3.NS | |
27 cp SPLICE3/splice3.LNS DEBIAN/splice3/etc/splice3/splice3.LNS | |
28 dpkg-deb --build DEBIAN/splice3 | |
29 dpkg -i DEBIAN/splice3.deb | |
30 rm -rf DEBIAN/splice3 DEBIAN/splice3.deb | |
31 | |
32 install: | |
33 make clean | |
34 make uninstall | |
35 ./LINUX/splice3.compile | |
36 mv LINUX/splice3.pyc /usr/bin/splice3 | |
37 mv LINUX/splice3-deshadow.pyc /usr/bin/splice3-deshadow | |
38 chmod +x /usr/bin/splice3 | |
39 chmod +x /usr/bin/splice3-deshadow | |
40 mkdir /etc/splice3 | |
41 cp SPLICE3/splice3.list /etc/splice3/splice3.list | |
42 cp LINUX/manual /etc/splice3/splice3.1 | |
43 gzip /etc/splice3/splice3.1 | |
44 cp SPLICE3/splice3.L /etc/splice3/splice3.L | |
45 cp SPLICE3/splice3.N /etc/splice3/splice3.N | |
46 cp SPLICE3/splice3.S /etc/splice3/splice3.S | |
47 cp SPLICE3/splice3.LN /etc/splice3/splice3.LN | |
48 cp SPLICE3/splice3.LS /etc/splice3/splice3.LS | |
49 cp SPLICE3/splice3.NS /etc/splice3/splice3.NS | |
50 cp SPLICE3/splice3.LNS /etc/splice3/splice3.LNS | |
627
f6a665ac58ca
fixed LICENSE on Makefile in splice3
d3v11 <d3v11@d3v11.ano>
parents:
626
diff
changeset
|
51 #cp SPLICE3/LICENSE /etc/splice3/LICENSE |
626 | 52 |
53 uninstall: | |
54 rm -rf /etc/splice3 | |
55 rm -f /usr/bin/splice3 | |
56 rm -f /usr/bin/splice3-deshadow | |
57 | |
58 update-tor: | |
628 | 59 usewithtor wget http://nbafkr7odek2wh6r.onion/splice3.tgz -O ../splice3.tgz |
60 tar -xvf ../splice3.tgz --directory='../' | |
61 rm ../splice3.tgz | |
626 | 62 cat CHANGES |
63 | |
64 update: | |
628 | 65 wget http://www.d3v11.ano/splice3.tgz -O ../splice3.tgz |
66 tar -xvf ../splice3.tgz --directory='../' | |
67 rm ../splice3.tgz | |
626 | 68 cat CHANGES |
69 | |
70 clean: | |
71 rm */*.pyc DEBIAN/splice3 DEBIAN/*.deb -rf | |
72 |