From 3fed94e37e6e0ab2b620be8c2d91b877a2694d72 Mon Sep 17 00:00:00 2001 From: Chris McCormick Date: Sat, 25 Oct 2014 19:02:29 +0800 Subject: [PATCH 1/1] Fix for broken links/images on website 'junkcode' pages. --- Makefile-web | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2