aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xMakefile.PL2
-rwxr-xr-xt/basewiki_brokenlinks.t2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.PL b/Makefile.PL
index 1add3cf1c..741f530a2 100755
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -82,7 +82,7 @@ extra_install:
install -d $(DESTDIR)$(PREFIX)/bin
install ikiwiki.out $(DESTDIR)$(PREFIX)/bin/ikiwiki
- $(MAKE) -C po install PREFIX=$(PREFIX)
+ $(MAKE) -C po install
}
}
diff --git a/t/basewiki_brokenlinks.t b/t/basewiki_brokenlinks.t
index 00811a5e3..baee285e2 100755
--- a/t/basewiki_brokenlinks.t
+++ b/t/basewiki_brokenlinks.t
@@ -5,7 +5,7 @@ use Test::More 'no_plan';
ok(! system("mkdir t/tmp"));
ok(! system("make -q ikiwiki.out"));
-ok(! system("make extra_install DESTDIR=t/tmp/install PREFIX=/usr >/dev/null"));
+ok(! system("make extra_install DESTDIR=`pwd`/t/tmp/install PREFIX=/usr >/dev/null"));
ok(! system("LANG= perl -T -I. ./ikiwiki.out -plugin smiley -plugin brokenlinks -rebuild -underlaydir=t/tmp/install/usr/share/ikiwiki/basewiki -templatedir=templates t/basewiki_brokenlinks t/tmp/out"));
ok(`grep 'no broken links' t/tmp/out/index.html`);
ok(-e "t/tmp/out/style.css");