X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/cb57c3e3e6209f289fbd20a3fa28310f9f2fac8b..refs/heads/debian/master:/po/Makefile diff --git a/po/Makefile b/po/Makefile index 5ec4a157c..bd218c6e1 100644 --- a/po/Makefile +++ b/po/Makefile @@ -22,7 +22,7 @@ install: all # Underlay translation via po files that go in special per-language # underlays. - for file in `cd underlays && find . -type f -name \*.po`; do \ + for file in `find underlays -type f -name \*.po | sed -e 's|^underlays/||'`; do \ lang=`echo $$file | sed -e 's/.po$$//' -e 's/.*\\.//'`; \ dir=`dirname "$(DESTDIR)$(PREFIX)/share/ikiwiki/po/$$lang/$$file"`; \ install -d $$dir; \ @@ -81,10 +81,10 @@ underlays_copy_stamp: touch $@ underlays: ../ikiwiki.out underlays_copy_stamp - ../ikiwiki.out -libdir .. -setup underlay.setup -refresh + ../ikiwiki.out --libdir .. --setup underlay.setup --refresh ../ikiwiki.out: ../Makefile - make -C .. ikiwiki.out + $(MAKE) -C .. ikiwiki.out ../Makefile: ../Makefile.PL cd .. && ./Makefile.PL