From 69be7df04c882a49352b9a291321f29661d18b91 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Sat, 4 Nov 2000 23:50:35 +0000 Subject: update all of ui/*.h to ui/*.xml 2000-11-05 Michael Meeks * 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 --- po/Makefile.i18npatch | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 po/Makefile.i18npatch (limited to 'po/Makefile.i18npatch') 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 \ -- cgit