aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--po/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/po/Makefile b/po/Makefile
index 20c0cb3a8..69aba722b 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -74,9 +74,15 @@ underlays_copy_stamp:
install -d underlays/empty
touch $@
-underlays: underlays_copy_stamp
+underlays: ../ikiwiki.out underlays_copy_stamp
../ikiwiki.out -libdir .. -setup underlay.setup -refresh
+../ikiwiki.out: ../Makefile
+ make -C .. ikiwiki.out
+
+../Makefile: ../Makefile.PL
+ cd .. && ./Makefile.PL
+
../underlays/locale: po2wiki_stamp
po2wiki_stamp: po2wiki underlays_copy_stamp
PERL5LIB=.. ./po2wiki underlay.setup