fix install
authorJoey Hess <joey@gnu.kitenet.net>
Tue, 21 Jul 2009 14:58:18 +0000 (16:58 +0200)
committerJoey Hess <joey@gnu.kitenet.net>
Tue, 21 Jul 2009 14:58:18 +0000 (16:58 +0200)
po/Makefile

index 69aba722b548a2a0015d48938282ddda82fa9670..d67c3a4ffac84247dc033ba85baa2665ebdbf1ee 100644 (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