]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - po/Makefile
make `make underlays` work in a clean tree that has not been built
[git.ikiwiki.info.git] / po / Makefile
index 20c0cb3a80032b3d0f625e39fa81e129f7d69496..69aba722b548a2a0015d48938282ddda82fa9670 100644 (file)
@@ -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