gold patch committed: fix PR 10895: install-pdf target

View: New views
1 Messages — Rating Filter:   Alert me  

gold patch committed: fix PR 10895: install-pdf target

by Ian Lance Taylor-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

PR 10895 is about the lack of a install-pdf target in gold.  The lack
is in gold/po/Make-in.  This patch brings that file up to date.
Committed to mainline and 2.20 branch.

Ian


2009-11-03  Ian Lance Taylor  <iant@...>

        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.



Index: po/Make-in
===================================================================
RCS file: /cvs/src/src/gold/po/Make-in,v
retrieving revision 1.2
diff -u -r1.2 Make-in
--- po/Make-in 3 Nov 2009 14:43:10 -0000 1.2
+++ po/Make-in 3 Nov 2009 15:19:45 -0000
@@ -1,6 +1,6 @@
 # Makefile for program source directory in GNU NLS utilities package.
 # Copyright (C) 1995, 1996, 1997 by Ulrich Drepper <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 @@
 
 $(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@... \
   --files-from=$(srcdir)/POTFILES.in
  rm -f $(srcdir)/$(PACKAGE).pot
  mv $(PACKAGE).po $(srcdir)/$(PACKAGE).pot
@@ -112,13 +113,14 @@
 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 \