X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/72c3b81efb1079f8db070ac89e97e9b7bcedd61b..796f5749859a1fa48ad068b5f2ab9889e0ae88e8:/po/Makefile diff --git a/po/Makefile b/po/Makefile index b71bb8b91..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; \