make `make underlays` work in a clean tree that has not been built

master
Joey Hess 2009-07-21 13:28:19 +02:00
parent 62dd02aa79
commit 49761c1f04
1 changed files with 7 additions and 1 deletions

View 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