+
+ # Underlay translation via po files that go in special per-language
+ # underlays.
+ 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; \
+ install -m 0644 underlays/$$file $$dir; \
+ done