From 934b01dddc74d9d8707bc96662eb1073a87ee947 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 3 Nov 2009 15:20:30 +0000 Subject: [PATCH] PR 10895 * po/Make-in ($(srcdir)/$(PACKAGE).pot): Pass -C and --msgid-bugs-address. (install-pdf): New target. (install-data_yes): Look up one directory to find mkinstalldirs. --- gold/ChangeLog | 8 ++++++++ gold/po/Make-in | 8 +++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/gold/ChangeLog b/gold/ChangeLog index 198ead3..e664071 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,11 @@ +2009-11-03 Ian Lance Taylor + + PR 10895 + * po/Make-in ($(srcdir)/$(PACKAGE).pot): Pass -C and + --msgid-bugs-address. + (install-pdf): New target. + (install-data_yes): Look up one directory to find mkinstalldirs. + 2009-11-03 H.J. Lu * po/Make-in (.po.gmo): Don't generate .gmo files in source diff --git a/gold/po/Make-in b/gold/po/Make-in index 86ff314..3f0fc76 100644 --- a/gold/po/Make-in +++ b/gold/po/Make-in @@ -1,6 +1,6 @@ # Makefile for program source directory in GNU NLS utilities package. # Copyright (C) 1995, 1996, 1997 by Ulrich Drepper -# Copyright 2003, 2006 Free Software Foundation, Inc. +# Copyright 2003, 2006, 2007, 2009 Free Software Foundation, Inc. # # This file may be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU Public License @@ -88,7 +88,8 @@ all-no: $(srcdir)/$(PACKAGE).pot: $(POTFILES) $(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(top_srcdir) \ - --add-comments --keyword=_ --keyword=N_ \ + --add-comments -C --keyword=_ --keyword=N_ \ + --msgid-bugs-address=bug-binutils@gnu.org \ --files-from=$(srcdir)/POTFILES.in rm -f $(srcdir)/$(PACKAGE).pot mv $(PACKAGE).po $(srcdir)/$(PACKAGE).pot @@ -112,13 +113,14 @@ install: install-exec install-data install-exec: install-info: install-html: +install-pdf: install-data: install-data-@USE_NLS@ install-data-no: all install-data-yes: all if test -r $(MKINSTALLDIRS); then \ $(MKINSTALLDIRS) $(DESTDIR)$(datadir); \ else \ - $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir); \ + $(top_srcdir)/../mkinstalldirs $(DESTDIR)$(datadir); \ fi @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ -- 2.7.4