turn off curtomized gitweb
[infrastructure.git] / gitweb / Makefile
1 # Dec. 2015
2 # mainstream gitweb.cgi has changed drastically so ours won't run under f23
3 # let's just forget about this old stuff
4 # from now on I run fedora's stock rpm in devel.onelab.eu
5 # and the other 2 probably are just dead
6
7 all:
8         echo This Makefile is obsolete
9         echo on devel.onelab.eu we use the stock gitweb
10         echo through rpm and symlinks
11
12 ALL=onelab.cgi f-lab.cgi planet-lab.cgi
13
14 %.cgi:gitweb.cgi
15 %.cgi:%.sed
16         sed -f $< gitweb.cgi > $@
17         chmod +x $@
18
19 clean: 
20         rm -f $(ALL)
21
22 # need to push to /var/www/git manually
23 push: $(ALL) 
24 #       rsync -av gitweb.css root@git.onelab.eu:/git/gitweb.css
25 #       rsync -av onelab.cgi root@git.onelab.eu:/git/gitweb.cgi
26         rsync -av gitweb.css root@git.f-lab.fr:/git/gitweb.css
27         rsync -av f-lab.cgi root@git.f-lab.fr:/git/gitweb.cgi
28         rsync -av gitweb.css thierry@git.planet-lab.org:gitweb.css
29         rsync -av planet-lab.cgi thierry@git.planet-lab.org:gitweb.cgi
30         ssh thierry@git.planet-lab.org sudo cp gitweb.cgi gitweb.css /var/www/git/