annotate contrib/peer2anonet/Makefile @ 707:67aa934958cf draft

SpliceX `make pyinstall*` now `make install`
author d3v11 <d3v11@d3v11.ano>
date Sat, 29 Oct 2011 11:41:38 -0400
parents 6753fb814c94
children
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:
638
6753fb814c94 fixed some problems in peer2anonet
d3v11 <d3v11@d3v11.ano>
parents: 550
diff changeset
4 make clean
6753fb814c94 fixed some problems in peer2anonet
d3v11 <d3v11@d3v11.ano>
parents: 550
diff changeset
5 rm -rf DEBIAN/peer2anonet *.deb
536
1bfad7d3fb55 Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
6 mkdir DEBIAN/peer2anonet
1bfad7d3fb55 Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
7 mkdir DEBIAN/peer2anonet/DEBIAN
1bfad7d3fb55 Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
8 mkdir DEBIAN/peer2anonet/usr
1bfad7d3fb55 Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
9 mkdir DEBIAN/peer2anonet/usr/bin
1bfad7d3fb55 Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
10 mkdir DEBIAN/peer2anonet/etc
1bfad7d3fb55 Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
11 mkdir DEBIAN/peer2anonet/etc/peer2anonet
1bfad7d3fb55 Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
12 cp DEBIAN/control DEBIAN/peer2anonet/DEBIAN/control
1bfad7d3fb55 Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
13 cp peer2anonet DEBIAN/peer2anonet/usr/bin/peer2anonet
1bfad7d3fb55 Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
14 chmod +x DEBIAN/peer2anonet/usr/bin/peer2anonet
550
4964136d5043 peer2anonet: added configuration on install to create env variables. see README for details.
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents: 536
diff changeset
15 DEBIAN/configure
536
1bfad7d3fb55 Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
16 dpkg-deb --build DEBIAN/peer2anonet
1bfad7d3fb55 Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
17 dpkg -i DEBIAN/peer2anonet.deb
1bfad7d3fb55 Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
18 rm -rf DEBIAN/peer2anonet DEBIAN/peer2anonet.deb
1bfad7d3fb55 Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
19
1bfad7d3fb55 Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
20 install:
638
6753fb814c94 fixed some problems in peer2anonet
d3v11 <d3v11@d3v11.ano>
parents: 550
diff changeset
21 make clean
6753fb814c94 fixed some problems in peer2anonet
d3v11 <d3v11@d3v11.ano>
parents: 550
diff changeset
22 make uninstall
536
1bfad7d3fb55 Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
23 cp peer2anonet /usr/bin/peer2anonet
1bfad7d3fb55 Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
24 chmod +x /usr/bin/peer2anonet
1bfad7d3fb55 Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
25 mkdir /etc/peer2anonet
550
4964136d5043 peer2anonet: added configuration on install to create env variables. see README for details.
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents: 536
diff changeset
26 ./configure
536
1bfad7d3fb55 Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
27
1bfad7d3fb55 Changed makefile to 'Makefile' in contrib/peer2anonet
d3v1150m471c <d3v11@d3v1150m471c.ano>
parents:
diff changeset
28 uninstall:
638
6753fb814c94 fixed some problems in peer2anonet
d3v11 <d3v11@d3v11.ano>
parents: 550
diff changeset
29 rm -rf /usr/bin/peer2anonet /etc/peer2anonet
6753fb814c94 fixed some problems in peer2anonet
d3v11 <d3v11@d3v11.ano>
parents: 550
diff changeset
30
6753fb814c94 fixed some problems in peer2anonet
d3v11 <d3v11@d3v11.ano>
parents: 550
diff changeset
31 clean:
6753fb814c94 fixed some problems in peer2anonet
d3v11 <d3v11@d3v11.ano>
parents: 550
diff changeset
32 rm -rf DEBIAN/peer2anonet DEBIAN/peer2anonet.deb