aboutsummaryrefslogtreecommitdiff
path: root/Makefile.PL
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-02-20 04:24:54 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-02-20 04:24:54 +0000
commitaae1bc49057a9b2ba28038a6e855fd772d3dff57 (patch)
tree8977fa393f477ad706454e937492d456b945ff0b /Makefile.PL
parent94bb213a957f22bc42aed7044876a8112b7afbdc (diff)
downloadikiwiki-aae1bc49057a9b2ba28038a6e855fd772d3dff57.tar
ikiwiki-aae1bc49057a9b2ba28038a6e855fd772d3dff57.tar.gz
build ikiwiki.out and use it to build the wiki, so that NOTAINT can take effect during the build too if necessary
Diffstat (limited to 'Makefile.PL')
-rwxr-xr-xMakefile.PL5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.PL b/Makefile.PL
index aaa334062..8404f9477 100755
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -24,7 +24,9 @@ PROBABLE_INST_LIB=$(shell \\
)
extra_build:
- LANG=C ./ikiwiki.in doc html --templatedir=templates \
+ ./pm_filter $(PREFIX) $(VER) $(PROBABLE_INST_LIB) < ikiwiki.in > ikiwiki.out
+ chmod +x ikiwiki.out
+ PERL5LIB=.:${PERL5LIB} LANG=C ./ikiwiki.in doc html --templatedir=templates \
--underlaydir=basewiki \
--wikiname="ikiwiki" --verbose --no-rcs \
--exclude=/discussion --no-discussion --userdir=users \
@@ -32,7 +34,6 @@ extra_build:
--plugin=haiku --plugin=polygen --plugin=fortune
./mdwn2man ikiwiki 1 doc/usage.mdwn > ikiwiki.man
./mdwn2man ikiwiki-mass-rebuild 8 doc/ikiwiki-mass-rebuild.mdwn > ikiwiki-mass-rebuild.man
- ./pm_filter $(PREFIX) $(VER) $(PROBABLE_INST_LIB) < ikiwiki.in > ikiwiki.out
$(MAKE) -C po
extra_clean: