1
--- Makefile.in.in.clean Wed Jan 3 05:25:20 2001
2
+++ Makefile.in.in Fri Jan 5 18:49:25 2001
6
top_srcdir = @top_srcdir@
12
GMSGFMT = PATH=../src:$$PATH @GMSGFMT@
14
XGETTEXT = PATH=../src:$$PATH @XGETTEXT@
15
-MSGMERGE = PATH=../src:$$PATH msgmerge
16
+XML_I18N_UPDATE = @XML_I18N_UPDATE@
17
+XML_I18N_EXTRACT = @XML_I18N_EXTRACT@
19
+MSGMERGE = XML_I18N_EXTRACT=$(XML_I18N_EXTRACT) $(XML_I18N_UPDATE) --dist
20
+GENPOT = XML_I18N_EXTRACT=$(XML_I18N_EXTRACT) $(XML_I18N_UPDATE) --pot
28
$(srcdir)/$(PACKAGE).pot: $(POTFILES)
29
- $(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(top_srcdir) \
30
- --add-comments --keyword=_ --keyword=N_ \
31
- --files-from=$(srcdir)/POTFILES.in \
32
- && test ! -f $(PACKAGE).po \
33
- || ( rm -f $(srcdir)/$(PACKAGE).pot \
34
- && mv $(PACKAGE).po $(srcdir)/$(PACKAGE).pot )
37
$(srcdir)/cat-id-tbl.c: stamp-cat-id; @:
38
$(srcdir)/stamp-cat-id: $(PACKAGE).pot
40
for cat in $$catalogs; do \
41
cat=`basename $$cat`; \
42
lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
43
- mv $$lang.po $$lang.old.po; \
44
+ cp $$lang.po $$lang.old.po; \
46
- if $(MSGMERGE) $$lang.old.po $(PACKAGE).pot -o $$lang.po; then \
47
+ if $(MSGMERGE) $$lang; then \
48
rm -f $$lang.old.po; \
50
echo "msgmerge for $$cat failed!"; \
52
mv $$lang.old.po $$lang.po; \
57
+ $(MAKE) $(PACKAGE).pot;
58
+ PATH=`pwd`/../src:$$PATH; \
59
+ echo; printf "$*: "; \
60
+ if $(MSGMERGE) $*; then \
63
+ echo "msgmerge for * failed!"; \
64
+ mv $*.old.po $*.po; \
66
+ msgfmt --statistics $*.po; echo;
70
( if test 'x$(srcdir)' != 'x.'; then \