diff options
author | Joseph Myers <joseph@codesourcery.com> | 2004-11-09 21:58:43 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2004-11-09 21:58:43 +0000 |
commit | 50f47ee0cd080ac2e190544d3e1baa17439fc298 (patch) | |
tree | 97bd62a86b08979af367ec19d16f78eeb2c3cca4 /libcpp/Makefile.in | |
parent | c043fab83a49ede3d4be62a6cb99d488957e739f (diff) | |
download | gcc-50f47ee0cd080ac2e190544d3e1baa17439fc298.zip gcc-50f47ee0cd080ac2e190544d3e1baa17439fc298.tar.gz gcc-50f47ee0cd080ac2e190544d3e1baa17439fc298.tar.bz2 |
Makefile.in ($(PACKAGE).pot): New rule.
* Makefile.in ($(PACKAGE).pot): New rule. Depend on
po/$(PACKAGE).pot.
(po/$(PACKAGE).pot): Use ":" instead of "," in --keyword
arguments. Add keywords _, N_, SYNTAX_ERROR and SYNTAX_ERROR2.
Remove local srcdir path from generated file.
From-SVN: r90368
Diffstat (limited to 'libcpp/Makefile.in')
-rw-r--r-- | libcpp/Makefile.in | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/libcpp/Makefile.in b/libcpp/Makefile.in index bd1861c..8a7a489 100644 --- a/libcpp/Makefile.in +++ b/libcpp/Makefile.in @@ -207,14 +207,19 @@ update-po: $(CATALOGS:.gmo=.pox) else echo $(srcdir)/po/$(PACKAGE).pot; fi` -o $@ # Rule for regenerating the message template. +$(PACKAGE).pot: po/$(PACKAGE).pot po/$(PACKAGE).pot: $(libcpp_a_SOURCES) -test -d $(srcdir)/po || mkdir $(srcdir)/po $(XGETTEXT) --default-domain=$(PACKAGE) \ - --keyword=cpp_error,3 --keyword=cpp_errno,3 \ - --keyword=cpp_error_with_line,5 \ + --keyword=_ --keyword=N_ \ + --keyword=cpp_error:3 --keyword=cpp_errno:3 \ + --keyword=cpp_error_with_line:5 \ + --keyword=SYNTAX_ERROR --keyword=SYNTAX_ERROR2 \ --copyright-holder="Free Software Foundation, Inc." \ --msgid-bugs-address="http://gcc.gnu.org/bugs.html" \ - --language=c -o po/$(PACKAGE).pot $^ + --language=c -o po/$(PACKAGE).pot.tmp $^ + sed 's:$(srcdir)/::g' <po/$(PACKAGE).pot.tmp >po/$(PACKAGE).pot + rm po/$(PACKAGE).pot.tmp # Tell versions [3.59,3.63) of GNU make to not export all variables. |