diff options
Diffstat (limited to 'binutils/doc/Makefile.am')
-rw-r--r-- | binutils/doc/Makefile.am | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/binutils/doc/Makefile.am b/binutils/doc/Makefile.am index b4a0d2a..8fc8c08 100644 --- a/binutils/doc/Makefile.am +++ b/binutils/doc/Makefile.am @@ -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 |