diff options
author | Alan Modra <amodra@gmail.com> | 2002-06-05 03:40:58 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-06-05 03:40:58 +0000 |
commit | 86fb1dece37497b267579ed4f062d280cd5760cd (patch) | |
tree | 25903a9acd82e00d35c6b5a6a2c71b194c14d14e /bfd/doc/Makefile.am | |
parent | 9cba27b2828bf40b0080451272e32834a6eeed11 (diff) | |
download | gdb-86fb1dece37497b267579ed4f062d280cd5760cd.zip gdb-86fb1dece37497b267579ed4f062d280cd5760cd.tar.gz gdb-86fb1dece37497b267579ed4f062d280cd5760cd.tar.bz2 |
* Makefile.am (libbfd.h): Add "Extracted from.." comment.
(libcoff.h, bfd.h): Likewise.
* Makefile.in: Regenerate.
Diffstat (limited to 'bfd/doc/Makefile.am')
-rw-r--r-- | bfd/doc/Makefile.am | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/bfd/doc/Makefile.am b/bfd/doc/Makefile.am index cbfd342..7bb8e86 100644 --- a/bfd/doc/Makefile.am +++ b/bfd/doc/Makefile.am @@ -209,7 +209,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 @@ -226,7 +229,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 @@ -255,7 +261,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" >> $@ |