X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=Makefile-web;h=a1b47a1246860dd5132ce99dd535f10f4640816e;hp=b1bf415f96a5ae259462132cdd8ee4f50e52ffb0;hb=c4c5fed020ba44b9930119672a36a1cb33aff090;hpb=bb4b8b6b32f34faf27b1c8e2b380f2df84810693 diff --git a/Makefile-web b/Makefile-web index b1bf415f..a1b47a12 100644 --- a/Makefile-web +++ b/Makefile-web @@ -16,8 +16,9 @@ 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/$*`