X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=Makefile-web;h=a1b47a1246860dd5132ce99dd535f10f4640816e;hp=1fb0cb2051ad6cae88a754f86d1d41968c4d0e1d;hb=c4c5fed020ba44b9930119672a36a1cb33aff090;hpb=b7cb6af18150e37c12a19e0fa5f4d8efdeae81ce diff --git a/Makefile-web b/Makefile-web index 1fb0cb20..a1b47a12 100644 --- a/Makefile-web +++ b/Makefile-web @@ -10,14 +10,15 @@ WEB_SUBDIRS=$(WEBDIR)/tarballs $(WEBDIR)/junkcode $(WEBDIR)/tarballs/with-deps $ JUNKDIRS=$(wildcard junkcode/*) JUNKPAGES=$(JUNKDIRS:%=$(WEBDIR)/%.html) JUNKBALLS=$(JUNKDIRS:%=$(WEBDIR)/%.tar.bz2) -BZRBROWSE=$(WEBDIR)/bzrbrowse.cgi $(WEBDIR)/file.png $(WEBDIR)/folder.png +BZRBROWSE=$(WEBDIR)/bzrbrowse.cgi $(WEBDIR)/file.png $(WEBDIR)/folder.png $(WEBDIR)/symlink.png upload: fastcheck webpages bzr push send-web # Rusty's upload script. -webpages: $(WEB_SUBDIRS) $(WEBDIR)/junkcode $(WEBDIR)/list.html $(WEBDIR)/index.html $(WEBDIR)/upload.html $(WEBDIR)/uploader.php $(WEBDIR)/example-config.h $(WEBDIR)/ccan.jpg $(BZRBROWSE) $(DIRECT_TARBALLS) $(DEPEND_TARBALLS) $(WEBDIR)/ccan.tar.bz2 $(WEBDIR)/Makefile-ccan $(ALL_PAGES) $(JUNKPAGES) $(JUNKBALLS) +webpages: $(WEB_SUBDIRS) $(WEBDIR)/index.html $(WEBDIR)/upload.html $(WEBDIR)/uploader.php $(WEBDIR)/example-config.h $(WEBDIR)/ccan.jpg $(BZRBROWSE) $(DIRECT_TARBALLS) $(DEPEND_TARBALLS) $(WEBDIR)/ccan.tar.bz2 $(WEBDIR)/Makefile-ccan $(ALL_PAGES) junkpages +junkpages: $(WEBDIR)/list.html $(WEBDIR)/junkcode $(JUNKPAGES) $(JUNKBALLS) $(WEB_SUBDIRS): mkdir -p $@ @@ -42,10 +43,10 @@ $(WEBDIR)/upload.html: web/staticupload.php # cpp inserts gratuitous linebreaks at start of file, makes for php problems. $(WEBDIR)/uploader.php: web/uploader.php.cpp - @cpp -w -C -P $< | grep . > $@ + cpp -w -C -P $< | grep . > $@ $(WEBDIR)/index.html: web/staticindex.php - @php5 web/staticindex.php > $@ + php5 web/staticindex.php > $@ $(WEBDIR)/example-config.h: config.h cp $< $@ @@ -60,7 +61,7 @@ $(BZRBROWSE): $(WEBDIR)/%: web/bzrbrowse/% cp $< $@ $(WEBDIR)/info/%.html: $(WEBDIR)/tarballs/%.tar.bz2 $(WEBDIR)/tarballs/with-deps/%.tar.bz2 - @URLPREFIX=../ php5 web/staticmoduleinfo.php `pwd`/ccan/$* > $@ + URLPREFIX=../ php5 web/staticmoduleinfo.php `pwd`/ccan/$* > $@ $(WEBDIR)/tarballs/%.tar.bz2: ccan/%/_info tar -c -j -f $@ `bzr ls --recursive --versioned --kind=file ccan/$*` `bzr ls --recursive --versioned --kind=symlink ccan/$*`