annotate contrib/peer2anonet/Makefile @ 550:4964136d5043 draft

peer2anonet: added configuration on install to create env variables. see README for details.
author d3v1150m471c <d3v11@d3v1150m471c.ano>
date Wed, 13 Jul 2011 04:21:57 -0500
parents 1bfad7d3fb55
children 6753fb814c94
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
550
4964136d5043 peer2anonet: added configuration on install to create env variables. see README for details.
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents: 536
diff changeset
14 DEBIAN/configure
536
1bfad7d3fb55 Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
15 dpkg-deb --build DEBIAN/peer2anonet
1bfad7d3fb55 Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
16 dpkg -i DEBIAN/peer2anonet.deb
1bfad7d3fb55 Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
17 rm -rf DEBIAN/peer2anonet DEBIAN/peer2anonet.deb
1bfad7d3fb55 Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
18
1bfad7d3fb55 Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
19 install:
1bfad7d3fb55 Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
20 cp peer2anonet /usr/bin/peer2anonet
1bfad7d3fb55 Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
21 chmod +x /usr/bin/peer2anonet
1bfad7d3fb55 Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
22 mkdir /etc/peer2anonet
1bfad7d3fb55 Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
23 cp LICENSE /etc/peer2anonet/LICENSE
550
4964136d5043 peer2anonet: added configuration on install to create env variables. see README for details.
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents: 536
diff changeset
24 ./configure
536
1bfad7d3fb55 Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
25
1bfad7d3fb55 Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
26 uninstall:
1bfad7d3fb55 Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
27 rm -r /usr/bin/peer2anonet /etc/peer2anonet