aboutsummaryrefslogtreecommitdiff
path: root/po/Makefile
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-07-21 13:28:19 +0200
committerJoey Hess <joey@gnu.kitenet.net>2009-07-21 13:28:19 +0200
commit49761c1f047693dd9ac283ad4d3ff75eeee65ae0 (patch)
tree11e9621c793698e79c518ad1f50f185b8fe70809 /po/Makefile
parent62dd02aa79d35f67b25186da4b0f387fe1d6f11a (diff)
downloadikiwiki-49761c1f047693dd9ac283ad4d3ff75eeee65ae0.tar
ikiwiki-49761c1f047693dd9ac283ad4d3ff75eeee65ae0.tar.gz
make `make underlays` work in a clean tree that has not been built
Diffstat (limited to 'po/Makefile')
-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