fix install

master
Joey Hess 2009-07-21 16:58:18 +02:00
parent 49761c1f04
commit 59c32780c0
1 changed files with 2 additions and 2 deletions

View File

@ -20,8 +20,8 @@ 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 \
lang=`echo $file | sed -e 's/.po$$//' -e 's/.*\\.//'`; \
dir=`dirname "$(DESTDIR)$(PREFIX)/share/ikiwiki/po/$$lang"`; \
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