aboutsummaryrefslogtreecommitdiff
path: root/po/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'po/Makefile')
-rw-r--r--po/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/po/Makefile b/po/Makefile
index 69aba722b..d67c3a4ff 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -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