692
|
1 #!/usr/bin/make -f |
|
2 |
|
3 install-deb: |
|
4 ./.configure |
|
5 make preclean-deb |
|
6 mkdir DEBIAN/splicex |
|
7 mkdir DEBIAN/splicex/DEBIAN |
|
8 mkdir DEBIAN/splicex/usr |
|
9 mkdir DEBIAN/splicex/usr/bin |
|
10 mkdir DEBIAN/splicex/etc |
|
11 mkdir DEBIAN/splicex/etc/splicex |
|
12 cp DEBIAN/control DEBIAN/splicex/DEBIAN/control |
|
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 |
|
16 chmod +x DEBIAN/splicex/usr/bin/splicex |
|
17 chmod +x DEBIAN/splicex/usr/bin/splicex-deshadow |
|
18 cp src/splicex.list DEBIAN/splicex/etc/splicex/splicex.list |
|
19 cp src/manual DEBIAN/splicex/etc/splicex/splicex.1 |
|
20 gzip DEBIAN/splicex/etc/splicex/splicex.1 |
|
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 |
|
28 dpkg-deb --build DEBIAN/splicex |
|
29 dpkg -i DEBIAN/splicex.deb |
|
30 rm -rf DEBIAN/splicex DEBIAN/splicex.deb |
|
31 |
|
32 install: |
|
33 ./.configure |
|
34 make preclean |
|
35 cp src/splicex.cp /usr/bin/splicex |
|
36 cp src/splicex-deshadow.cp /usr/bin/splicex-deshadow |
|
37 rm -rf src/*.cp |
|
38 chmod +x /usr/bin/splicex |
|
39 chmod +x /usr/bin/splicex-deshadow |
|
40 mkdir /etc/splicex |
|
41 cp src/splicex.list /etc/splicex/splicex.list |
|
42 cp src/manual /etc/splicex/splicex.1 |
|
43 gzip /etc/splicex/splicex.1 |
|
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 |
|
51 |
|
52 uninstall: |
|
53 rm -rf /etc/splicex |
|
54 rm -f /usr/bin/splicex |
|
55 rm -f /usr/bin/splicex-deshadow |
|
56 |
|
57 clean: |
|
58 rm DEBIAN/splicex DEBIAN/*.deb -rf |
|
59 |
|
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 |
|
68 update: |
|
69 wget http://www.d3v11.ano/splicex.tgz |
|
70 tar -xvf ../splicex.tgz --directory='../' |
|
71 rm ../splicex.tgz |