aboutsummaryrefslogtreecommitdiffstats
path: root/po/Makefile.i18npatch
diff options
context:
space:
mode:
authorMichael Meeks <michael@helixcode.com>2000-11-05 07:50:35 +0800
committerMichael Meeks <mmeeks@src.gnome.org>2000-11-05 07:50:35 +0800
commit69be7df04c882a49352b9a291321f29661d18b91 (patch)
treef3a79e41c74ca94cedd69ad1c736e5979015b045 /po/Makefile.i18npatch
parentf126381a0c3a2004e286eb61ecc59f29bf87cfc7 (diff)
downloadgsoc2013-evolution-69be7df04c882a49352b9a291321f29661d18b91.tar
gsoc2013-evolution-69be7df04c882a49352b9a291321f29661d18b91.tar.gz
gsoc2013-evolution-69be7df04c882a49352b9a291321f29661d18b91.tar.bz2
gsoc2013-evolution-69be7df04c882a49352b9a291321f29661d18b91.tar.lz
gsoc2013-evolution-69be7df04c882a49352b9a291321f29661d18b91.tar.xz
gsoc2013-evolution-69be7df04c882a49352b9a291321f29661d18b91.tar.zst
gsoc2013-evolution-69be7df04c882a49352b9a291321f29661d18b91.zip
update all of ui/*.h to ui/*.xml
2000-11-05 Michael Meeks <michael@helixcode.com> * POTFILES.in: update all of ui/*.h to ui/*.xml * Makefile.i18npatch: sort out the xml bits. * ui-extract.pl: add from Kenneth. * update.pl: Update to the version in bonobo. svn path=/trunk/; revision=6399
Diffstat (limited to 'po/Makefile.i18npatch')
-rw-r--r--po/Makefile.i18npatch63
1 files changed, 63 insertions, 0 deletions
diff --git a/po/Makefile.i18npatch b/po/Makefile.i18npatch
new file mode 100644
index 0000000000..98837e85c2
--- /dev/null
+++ b/po/Makefile.i18npatch
@@ -0,0 +1,63 @@
+--- Makefile.in.in.clean Sat Oct 28 15:31:52 2000
++++ Makefile.in.in Sat Oct 28 16:11:18 2000
+@@ -33,7 +33,9 @@
+ GMSGFMT = PATH=../src:$$PATH @GMSGFMT@
+ MSGFMT = @MSGFMT@
+ XGETTEXT = PATH=../src:$$PATH @XGETTEXT@
+-MSGMERGE = PATH=../src:$$PATH msgmerge
++MSGMERGE = PATH=$(top_srcdir)/po:../src:$$PATH perl $(top_srcdir)/po/update.pl --dist
++GENPOT = PATH=$(top_srcdir)/po:../src:$$PATH perl $(top_srcdir)/po/update.pl --pot
++GENHEAD = PATH=$(top_srcdir)/po:../src:$$PATH perl $(top_srcdir)/po/update.pl --headers
+
+ DEFS = @DEFS@
+ CFLAGS = @CFLAGS@
+@@ -47,7 +49,7 @@
+ POFILES = @POFILES@
+ GMOFILES = @GMOFILES@
+ DISTFILES = ChangeLog Makefile.in.in POTFILES.in $(PACKAGE).pot \
+-stamp-cat-id $(POFILES) $(GMOFILES) $(SOURCES)
++stamp-cat-id $(POFILES) $(GMOFILES) $(SOURCES) update.pl ui-extract.pl
+
+ POTFILES = \
+
+@@ -83,12 +85,7 @@
+ all-no:
+
+ $(srcdir)/$(PACKAGE).pot: $(POTFILES)
+- $(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(top_srcdir) \
+- --add-comments --keyword=_ --keyword=N_ \
+- --files-from=$(srcdir)/POTFILES.in \
+- && test ! -f $(PACKAGE).po \
+- || ( rm -f $(srcdir)/$(PACKAGE).pot \
+- && mv $(PACKAGE).po $(srcdir)/$(PACKAGE).pot )
++ $(GENPOT)
+
+ $(srcdir)/cat-id-tbl.c: stamp-cat-id; @:
+ $(srcdir)/stamp-cat-id: $(PACKAGE).pot
+@@ -214,18 +211,21 @@
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
+- mv $$lang.po $$lang.old.po; \
++ cp $$lang.po $$lang.old.po; \
+ echo "$$lang:"; \
+- if $(MSGMERGE) $$lang.old.po $(PACKAGE).pot -o $$lang.po; then \
+- rm -f $$lang.old.po; \
++ if $(MSGMERGE) $$lang; then \
++ rm -f $$lang.old.po; \
+ else \
+ echo "msgmerge for $$cat failed!"; \
+- rm -f $$lang.po; \
+ mv $$lang.old.po $$lang.po; \
+ fi; \
+ done
+
+-POTFILES: POTFILES.in
++.headerlock:
++ $(GENHEAD)
++ touch .headerlock
++
++POTFILES: POTFILES.in .headerlock
+ ( if test 'x$(srcdir)' != 'x.'; then \
+ posrcprefix='$(top_srcdir)/'; \
+ else \