diff options
Diffstat (limited to 'bfd/doc/Makefile.in')
-rw-r--r-- | bfd/doc/Makefile.in | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/bfd/doc/Makefile.in b/bfd/doc/Makefile.in index 0e46ceb..dfe54a0 100644 --- a/bfd/doc/Makefile.in +++ b/bfd/doc/Makefile.in @@ -244,7 +244,7 @@ DIST_COMMON = ChangeLog Makefile.am Makefile.in DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -TAR = gtar +TAR = tar GZIP_ENV = --best all: all-redirect .SUFFIXES: @@ -606,7 +606,10 @@ libbfd.h: $(LIBBFD_H_DEP) case $$file in \ *-in.h) cat $$file >> $@ ;; \ */header.sed) break ;; \ - *) ./$(MKDOC) -i -f $(srcdir)/proto.str < $$file >> $@ ;; \ + *) echo -n '/* Extracted from ' >> $@ ; \ + echo -n $$file | sed -e 's,.*/,,' >> $@ ; \ + echo '. */' >> $@ ; \ + ./$(MKDOC) -i -f $(srcdir)/proto.str < $$file >> $@ ;; \ esac; \ done @@ -616,7 +619,10 @@ libcoff.h: $(LIBCOFF_H_DEP) case $$file in \ *-in.h) cat $$file >> $@ ;; \ */header.sed) break ;; \ - *) ./$(MKDOC) -i -f $(srcdir)/proto.str < $$file >> $@ ;; \ + *) echo -n '/* Extracted from ' >> $@ ; \ + echo -n $$file | sed -e 's,.*/,,' >> $@ ; \ + echo '. */' >> $@ ; \ + ./$(MKDOC) -i -f $(srcdir)/proto.str < $$file >> $@ ;; \ esac; \ done @@ -626,7 +632,10 @@ bfd.h: $(BFD_H_DEP) case $$file in \ *-in.h) cat $$file >> $@ ;; \ */header.sed) break ;; \ - *) ./$(MKDOC) -f $(srcdir)/proto.str < $$file >> $@ ;; \ + *) echo -n '/* Extracted from ' >> $@ ; \ + echo -n $$file | sed -e 's,.*/,,' >> $@ ; \ + echo '. */' >> $@ ; \ + ./$(MKDOC) -f $(srcdir)/proto.str < $$file >> $@ ;; \ esac; \ done echo "#ifdef __cplusplus" >> $@ |