From 49761c1f047693dd9ac283ad4d3ff75eeee65ae0 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 21 Jul 2009 13:28:19 +0200 Subject: make `make underlays` work in a clean tree that has not been built --- po/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3