From c7fffe3c738259e69d4c8e2d83cb0ed0ad24452c Mon Sep 17 00:00:00 2001 From: Anders F Bjorklund Date: Wed, 1 Sep 2010 12:52:12 +0200 Subject: [PATCH] Change location of locale directory in Makefile too --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index e2638f5..7a75a53 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ PYTHON=python -MO = $(shell find locale -name '*.po' | sort | sed -e 's/\.po/\.mo/') +MO = $(shell find share/locale -name '*.po' | sort | sed -e 's/\.po/\.mo/') PY = $(shell find zeroinstall -name '*.py' | sort) GTKBUILDER = $(shell find zeroinstall -name '*.ui' | sort | sed -e 's/\.ui/&.h/') SH = zeroinstall/zerostore/_unlzma @@ -21,18 +21,18 @@ install: all %.ui.h: %.ui intltool-extract --type=gettext/glade --update "$<" -locale/zero-install.pot: $(PY) $(GTKBUILDER) $(SH) +share/locale/zero-install.pot: $(PY) $(GTKBUILDER) $(SH) xgettext --sort-by-file --language=Python --output=$@ --keyword=N_ $(PY) $(GTKBUILDER) xgettext --sort-by-file --language=Shell -j --output=$@ $(SH) -update-po: locale/zero-install.pot - @for po in locale/*/LC_MESSAGES/zero-install.po; do \ +update-po: share/locale/zero-install.pot + @for po in share/locale/*/LC_MESSAGES/zero-install.po; do \ echo -e "Merge: $$po: \c"; \ - msgmerge -v -U $$po locale/zero-install.pot; \ + msgmerge -v -U $$po share/locale/zero-install.pot; \ done check-po: - @for po in locale/*/LC_MESSAGES/zero-install.po; do \ + @for po in share/locale/*/LC_MESSAGES/zero-install.po; do \ echo -e "Check: $$po: \c"; \ msgfmt -o /dev/null --statistics -v -c $$po; \ done -- 2.11.4.GIT