Skip to content

Commit a52e979

Browse files
author
Alexander Smishlajev
committed
added template diff target: view changes in message strings
1 parent 1df8cf0 commit a52e979

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

locale/GNUmakefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Extract translatable strings from Roundup sources,
22
# update and compile all existing translations
33
#
4-
# $Id: GNUmakefile,v 1.8 2004-06-15 05:29:36 a1s Exp $
4+
# $Id: GNUmakefile,v 1.9 2006-02-28 05:53:04 a1s Exp $
55

66
# tool locations
77
XPOT ?= xpot
@@ -45,8 +45,12 @@ template:
4545
--copyright-holder="See Roundup README.txt" \
4646
-o $(TEMPLATE) $(SOURCES)
4747

48+
# helps to check template file before check in
49+
diff:
50+
cvs diff roundup.pot|grep -v '^[-+]#'|vim -Rv -
51+
4852
%.po: $(TEMPLATE)
49-
${MSGMERGE} -U --suffix=.bak $@ $<
53+
${MSGMERGE} -U -w 72 --suffix=.bak $@ $<
5054

5155
%.mo: %.po
5256
${MSGFMT} --statistics -o $@ $<

0 commit comments

Comments
 (0)