From: Chris McCormick Date: Sat, 25 Oct 2014 11:02:29 +0000 (+0800) Subject: Fix for broken links/images on website 'junkcode' pages. X-Git-Url: https://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=3fed94e37e6e0ab2b620be8c2d91b877a2694d72;hp=1567e4bd07b4ff64f082745fad01d1efcc8e1c0c Fix for broken links/images on website 'junkcode' pages. --- diff --git a/Makefile-web b/Makefile-web index 20a1a2f3..2a8718ea 100644 --- a/Makefile-web +++ b/Makefile-web @@ -31,7 +31,7 @@ $(WEBDIR)/junkcode/%.tar.bz2: junkcode/% $(WEBDIR)/junkcode $(WEBDIR)/junkcode/%.html: $(WEBDIR)/junkcode/%.tar.bz2 cd $(WEBDIR) && tar xfj junkcode/$*.tar.bz2 - php5 web/staticjunkcode.php junkcode/$* $* > $@ + URLPREFIX=../ php5 web/staticjunkcode.php junkcode/$* $* > $@ # We want tarball to contain ccan/; we put junkcode in, but don't depend on it. $(WEBDIR)/ccan.tar.bz2: config.h Makefile Makefile-ccan $(shell git ls-files ccan tools licenses)