2000-09-19 H.J. Lu <hjl@gnu.org>
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 19 Sep 2001 17:02:38 +0000 (17:02 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 19 Sep 2001 17:02:38 +0000 (17:02 +0000)
* doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
$(srcdir)/cxxfilt.man.
* doc/Makefile.in: Rebuild.

binutils/ChangeLog
binutils/doc/Makefile.am
binutils/doc/Makefile.in

index 8039cc87f0e4f17e7b905df3d5e069077dfc7497..15f90674184431c74c54658cf6e01fdfb96a0951 100644 (file)
@@ -1,3 +1,9 @@
+2000-09-19  H.J. Lu  <hjl@gnu.org>
+
+       * doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
+       $(srcdir)/cxxfilt.man.
+       * doc/Makefile.in: Rebuild.
+
 2001-09-19  Alan Modra  <amodra@bigpond.net.au>
 
        * objcopy.c (copy_main): Correct rename-section string parsing.
index b4a0d2aab60c83086302f8e30b15551c8cdf6be5..8fc8c087ec68c39890efdec9c614e91346d4672e 100644 (file)
@@ -146,8 +146,13 @@ DISTCLEANFILES       = config.texi
 MOSTLYCLEANFILES     = $(DEMANGLER_NAME).1
 
 $(DEMANGLER_NAME).1: cxxfilt.man Makefile
+       if test -f cxxfilt.man; then \
+         man=cxxfilt.man; \
+       else \
+         man=$(srcdir)/cxxfilt.man; \
+       fi; \
        sed -e 's/@PROGRAM@/$(DEMANGLER_NAME)/' \
-           -e 's/cxxfilt/$(DEMANGLER_NAME)/' < cxxfilt.man \
+           -e 's/cxxfilt/$(DEMANGLER_NAME)/' < $$man \
                > $(DEMANGLER_NAME).1
 
 # Maintenance
index 6a62bb34b04866008c4bd9046d745064438101c8..51fda7e7ec164731080437957c83ae92cd80f7e1 100644 (file)
@@ -129,7 +129,9 @@ MANCONF = -Dman
 
 TEXI2POD = perl $(top_srcdir)/../etc/texi2pod.pl
 
-POD2MAN = pod2man --center="GNU" --release="binutils-$(VERSION)" --section=1
+POD2MAN = pod2man --center="GNU Development Tools" \
+        --release="binutils-$(VERSION)" --section=1
+
 
 # List of man pages generated from binutils.texi
 man_MANS = \
@@ -536,8 +538,13 @@ cxxfilt.man:       $(binutils_TEXI)
        rm -f $(DEMANGLER_NAME).pod
 
 $(DEMANGLER_NAME).1: cxxfilt.man Makefile
+       if test -f cxxfilt.man; then \
+         man=cxxfilt.man; \
+       else \
+         man=$(srcdir)/cxxfilt.man; \
+       fi; \
        sed -e 's/@PROGRAM@/$(DEMANGLER_NAME)/' \
-           -e 's/cxxfilt/$(DEMANGLER_NAME)/' < cxxfilt.man \
+           -e 's/cxxfilt/$(DEMANGLER_NAME)/' < $$man \
                > $(DEMANGLER_NAME).1
 
 # Maintenance