aboutsummaryrefslogtreecommitdiff
path: root/po/Makefile
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-07-21 16:58:18 +0200
committerJoey Hess <joey@gnu.kitenet.net>2009-07-21 16:58:18 +0200
commit59c32780c027aaa9f4bbfd6ce52b919ed90e7ec6 (patch)
treeee4d7f3d1269f2fb6212186a8cd3f9302fb9b0c9 /po/Makefile
parent49761c1f047693dd9ac283ad4d3ff75eeee65ae0 (diff)
downloadikiwiki-59c32780c027aaa9f4bbfd6ce52b919ed90e7ec6.tar
ikiwiki-59c32780c027aaa9f4bbfd6ce52b919ed90e7ec6.tar.gz
fix install
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