]> sipb.mit.edu Git - ikiwiki.git/blobdiff - Makefile.PL
* Fix links to alternate stylesheets when usedirs is enabled.
[ikiwiki.git] / Makefile.PL
index 5514a98ceb67615cd40af8fae7412cfea9b647be..985c944ad4c97a265ffd6b4b4c5783edb884dfd0 100755 (executable)
@@ -26,9 +26,11 @@ PROBABLE_INST_LIB=$(shell \\
 tflag=$(shell if [ "$$NOTAINT" != 0 ]; then printf -- "-T"; fi)
 extramodules=$(shell if [ "$$PROFILE" = 1 ]; then printf -- "-MDevel::Profiler"; fi)
 
-extra_build:
+ikiwiki.out: ikiwiki.in
        ./pm_filter $(PREFIX) $(VER) $(PROBABLE_INST_LIB) < ikiwiki.in > ikiwiki.out
        chmod +x ikiwiki.out
+
+extra_build: ikiwiki.out
        LANG=C perl -I. $(extramodules) $(tflag) ikiwiki.out doc html --templatedir=templates \
                --underlaydir=basewiki --nousedirs\
                --wikiname="ikiwiki" --verbose \