From 4cbcd9bb3b2189f478293c1ed44daacbebc9e7ff Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 26 Jul 2008 23:04:37 -0400 Subject: [PATCH] avoid leaking HOME --- Makefile.PL | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile.PL b/Makefile.PL index 559c6d9ea..f7c090ff2 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -30,8 +30,10 @@ ikiwiki.out: ikiwiki.in ./pm_filter $(PREFIX) $(VER) $(PROBABLE_INST_LIB) < ikiwiki.in > ikiwiki.out chmod +x ikiwiki.out -extra_build: ikiwiki.out - $(PERL) -Iblib/lib $(extramodules) $(tflag) ikiwiki.out -libdir . -dumpsetup ikiwiki.setup +ikiwiki.setup: ikiwiki.out + HOME=/home/me $(PERL) -Iblib/lib $(extramodules) $(tflag) ikiwiki.out -libdir . -dumpsetup ikiwiki.setup + +extra_build: ikiwiki.out ikiwiki.setup $(PERL) -Iblib/lib $(extramodules) $(tflag) ikiwiki.out -libdir . -setup docwiki.setup -refresh ./mdwn2man ikiwiki 1 doc/usage.mdwn > ikiwiki.man ./mdwn2man ikiwiki-mass-rebuild 8 doc/ikiwiki-mass-rebuild.mdwn > ikiwiki-mass-rebuild.man -- 2.26.2