diff --git a/locale/GNUmakefile b/locale/GNUmakefile
index 400a16d8ad3037736d0b5e65bd32a92e6116f76b..9b063bb9bdcfd6350419548de7c08e31f0dab20d 100644 (file)
--- a/locale/GNUmakefile
+++ b/locale/GNUmakefile
TEMPLATE=roundup.pot
-PACKAGES=$(shell find ../roundup ../templates -name '*.py' \
+PACKAGES=$(shell find ../roundup ../share/roundup/templates -name '*.py' \
| sed -e 's,/[^/]*$$,,' | sort | uniq)
SOURCES=$(PACKAGES:=/*.py)
PO_FILES=$(wildcard *.po)
template:
${XPOT} -n -o $(TEMPLATE) $(SOURCES)
${RUN_PYTHON} ../roundup/cgi/TAL/talgettext.py -u $(TEMPLATE) \
- ../templates/classic/html/*.html ../templates/minimal/html/*.html
+ ../share/roundup/templates/classic/html/*.html \
+ ../share/roundup/templates/minimal/html/*.html
${XGETTEXT} -j -w 80 -F \
--msgid-bugs-address=roundup-devel@lists.sourceforge.net \
--copyright-holder="See Roundup README.txt" \
# helps to check template file before check in
diff:
- cvs diff roundup.pot|grep -v '^[-+]#'|vim -Rv -
+ svn diff roundup.pot|grep -v '^[-+]#'|vim -Rv -
%.po: $(TEMPLATE)
${MSGMERGE} -U --suffix=.bak $@ $<