2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
[deliverable/binutils-gdb.git] / binutils / doc / Makefile.am
index b4a0d2aab60c83086302f8e30b15551c8cdf6be5..9db5819f3b610dd9c5fc48341d8f6c23352a383f 100644 (file)
@@ -146,10 +146,19 @@ 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
 
+# We want install to imply install-info as per GNU standards, despite the
+# cygnus option.
+install: install-info
+
 # Maintenance
 
 # We need it for the taz target in ../../Makefile.in.
This page took 0.023036 seconds and 4 git commands to generate.