Skip to content

Commit 3455da4

Browse files
author
Alexander Smishlajev
committed
update message template file building:
the tracker templates are moved to share/roundup/; rebuild the message template file.
1 parent 8fed049 commit 3455da4

File tree

2 files changed

+744
-704
lines changed

2 files changed

+744
-704
lines changed

locale/GNUmakefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ PYTHON ?= python
1212

1313
TEMPLATE=roundup.pot
1414

15-
PACKAGES=$(shell find ../roundup ../templates -name '*.py' \
15+
PACKAGES=$(shell find ../roundup ../share/roundup/templates -name '*.py' \
1616
| sed -e 's,/[^/]*$$,,' | sort | uniq)
1717
SOURCES=$(PACKAGES:=/*.py)
1818
PO_FILES=$(wildcard *.po)
@@ -40,15 +40,16 @@ dist:
4040
template:
4141
${XPOT} -n -o $(TEMPLATE) $(SOURCES)
4242
${RUN_PYTHON} ../roundup/cgi/TAL/talgettext.py -u $(TEMPLATE) \
43-
../templates/classic/html/*.html ../templates/minimal/html/*.html
43+
../share/roundup/templates/classic/html/*.html \
44+
../share/roundup/templates/minimal/html/*.html
4445
${XGETTEXT} -j -w 80 -F \
4546
4647
--copyright-holder="See Roundup README.txt" \
4748
-o $(TEMPLATE) $(SOURCES)
4849

4950
# helps to check template file before check in
5051
diff:
51-
cvs diff roundup.pot|grep -v '^[-+]#'|vim -Rv -
52+
svn diff roundup.pot|grep -v '^[-+]#'|vim -Rv -
5253

5354
%.po: $(TEMPLATE)
5455
${MSGMERGE} -U --suffix=.bak $@ $<

0 commit comments

Comments
 (0)