X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/ac908010f359d0bec5d317d419c4cb6e6c86f52a..dc149441fade1b870ea731d550fe1315f2926bbc:/po/Makefile diff --git a/po/Makefile b/po/Makefile index 45c91c9ae..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; \ @@ -55,7 +55,7 @@ clean: else \ rm -f $@.new; \ fi; \ - msgfmt --statistics $@ 2>&1 \ + msgfmt --statistics $@ 2>&1; \ fi check: @@ -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