Mercurial > hg > anonet-resdb
annotate contrib/peer2anonet/Makefile @ 549:5b5b29f8d8c7 draft
peer2anonet: made some patches to script. see README file for details.
author | d3v1150m471c <d3v11@d3v1150m471c.ano> |
---|---|
date | Sun, 10 Jul 2011 22:41:54 -0500 |
parents | 1bfad7d3fb55 |
children | 4964136d5043 |
rev | line source |
---|---|
536
1bfad7d3fb55
Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff
changeset
|
1 #!/usr/bin/make -f |
1bfad7d3fb55
Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff
changeset
|
2 |
1bfad7d3fb55
Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff
changeset
|
3 install-deb: |
1bfad7d3fb55
Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff
changeset
|
4 mkdir DEBIAN/peer2anonet |
1bfad7d3fb55
Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff
changeset
|
5 mkdir DEBIAN/peer2anonet/DEBIAN |
1bfad7d3fb55
Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff
changeset
|
6 mkdir DEBIAN/peer2anonet/usr |
1bfad7d3fb55
Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff
changeset
|
7 mkdir DEBIAN/peer2anonet/usr/bin |
1bfad7d3fb55
Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff
changeset
|
8 mkdir DEBIAN/peer2anonet/etc |
1bfad7d3fb55
Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff
changeset
|
9 mkdir DEBIAN/peer2anonet/etc/peer2anonet |
1bfad7d3fb55
Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff
changeset
|
10 cp DEBIAN/control DEBIAN/peer2anonet/DEBIAN/control |
1bfad7d3fb55
Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff
changeset
|
11 cp peer2anonet DEBIAN/peer2anonet/usr/bin/peer2anonet |
1bfad7d3fb55
Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff
changeset
|
12 chmod +x DEBIAN/peer2anonet/usr/bin/peer2anonet |
1bfad7d3fb55
Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff
changeset
|
13 cp LICENSE DEBIAN/peer2anonet/etc/peer2anonet/LICENSE |
1bfad7d3fb55
Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff
changeset
|
14 dpkg-deb --build DEBIAN/peer2anonet |
1bfad7d3fb55
Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff
changeset
|
15 dpkg -i DEBIAN/peer2anonet.deb |
1bfad7d3fb55
Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff
changeset
|
16 rm -rf DEBIAN/peer2anonet DEBIAN/peer2anonet.deb |
1bfad7d3fb55
Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff
changeset
|
17 |
1bfad7d3fb55
Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff
changeset
|
18 install: |
1bfad7d3fb55
Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff
changeset
|
19 cp peer2anonet /usr/bin/peer2anonet |
1bfad7d3fb55
Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff
changeset
|
20 chmod +x /usr/bin/peer2anonet |
1bfad7d3fb55
Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff
changeset
|
21 mkdir /etc/peer2anonet |
1bfad7d3fb55
Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff
changeset
|
22 cp LICENSE /etc/peer2anonet/LICENSE |
1bfad7d3fb55
Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff
changeset
|
23 |
1bfad7d3fb55
Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff
changeset
|
24 uninstall: |
1bfad7d3fb55
Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff
changeset
|
25 rm -r /usr/bin/peer2anonet /etc/peer2anonet |