From: Joey Hess Date: Tue, 21 Jul 2009 11:28:19 +0000 (+0200) Subject: make `make underlays` work in a clean tree that has not been built X-Git-Tag: 3.15~126 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=49761c1f047693dd9ac283ad4d3ff75eeee65ae0;p=ikiwiki.git make `make underlays` work in a clean tree that has not been built --- 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