From: Alan Modra Date: Fri, 7 Jun 2002 07:37:20 +0000 (+0000) Subject: * Makefile.am (libbfd.h): Don't use "echo -n". X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c46f20ef0a87b6bb0b644a22e28514523352f031;p=binutils-gdb.git * Makefile.am (libbfd.h): Don't use "echo -n". (libcoff.h, bfd.h): Likewise. * Makefile.in: Regenerate. --- diff --git a/bfd/doc/ChangeLog b/bfd/doc/ChangeLog index 8bf5acd6c8b..363451eff3e 100644 --- a/bfd/doc/ChangeLog +++ b/bfd/doc/ChangeLog @@ -1,3 +1,9 @@ +2002-06-07 Alan Modra + + * Makefile.am (libbfd.h): Don't use "echo -n". + (libcoff.h, bfd.h): Likewise. + * Makefile.in: Regenerate. + 2002-06-06 Lars Brinkhoff * bfdint.texi: Change registry@sco.com to registry@caldera.com. diff --git a/bfd/doc/Makefile.am b/bfd/doc/Makefile.am index 7bb8e86626d..178978619fc 100644 --- a/bfd/doc/Makefile.am +++ b/bfd/doc/Makefile.am @@ -209,9 +209,8 @@ libbfd.h: $(LIBBFD_H_DEP) case $$file in \ *-in.h) cat $$file >> $@ ;; \ */header.sed) break ;; \ - *) echo -n '/* Extracted from ' >> $@ ; \ - echo -n $$file | sed -e 's,.*/,,' >> $@ ; \ - echo '. */' >> $@ ; \ + *) echo $$file | sed -e 's,.*/,,' -e 's,^,/* Extracted from ', \ + -e 's,$$,. */,' >> $@ ; \ ./$(MKDOC) -i -f $(srcdir)/proto.str < $$file >> $@ ;; \ esac; \ done @@ -229,9 +228,8 @@ libcoff.h: $(LIBCOFF_H_DEP) case $$file in \ *-in.h) cat $$file >> $@ ;; \ */header.sed) break ;; \ - *) echo -n '/* Extracted from ' >> $@ ; \ - echo -n $$file | sed -e 's,.*/,,' >> $@ ; \ - echo '. */' >> $@ ; \ + *) echo $$file | sed -e 's,.*/,,' -e 's,^,/* Extracted from ', \ + -e 's,$$,. */,' >> $@ ; \ ./$(MKDOC) -i -f $(srcdir)/proto.str < $$file >> $@ ;; \ esac; \ done @@ -261,9 +259,8 @@ bfd.h: $(BFD_H_DEP) case $$file in \ *-in.h) cat $$file >> $@ ;; \ */header.sed) break ;; \ - *) echo -n '/* Extracted from ' >> $@ ; \ - echo -n $$file | sed -e 's,.*/,,' >> $@ ; \ - echo '. */' >> $@ ; \ + *) echo $$file | sed -e 's,.*/,,' -e 's,^,/* Extracted from ', \ + -e 's,$$,. */,' >> $@ ; \ ./$(MKDOC) -f $(srcdir)/proto.str < $$file >> $@ ;; \ esac; \ done diff --git a/bfd/doc/Makefile.in b/bfd/doc/Makefile.in index dfe54a04982..b51c775b32c 100644 --- a/bfd/doc/Makefile.in +++ b/bfd/doc/Makefile.in @@ -606,9 +606,8 @@ libbfd.h: $(LIBBFD_H_DEP) case $$file in \ *-in.h) cat $$file >> $@ ;; \ */header.sed) break ;; \ - *) echo -n '/* Extracted from ' >> $@ ; \ - echo -n $$file | sed -e 's,.*/,,' >> $@ ; \ - echo '. */' >> $@ ; \ + *) echo $$file | sed -e 's,.*/,,' -e 's,^,/* Extracted from ', \ + -e 's,$$,. */,' >> $@ ; \ ./$(MKDOC) -i -f $(srcdir)/proto.str < $$file >> $@ ;; \ esac; \ done @@ -619,9 +618,8 @@ libcoff.h: $(LIBCOFF_H_DEP) case $$file in \ *-in.h) cat $$file >> $@ ;; \ */header.sed) break ;; \ - *) echo -n '/* Extracted from ' >> $@ ; \ - echo -n $$file | sed -e 's,.*/,,' >> $@ ; \ - echo '. */' >> $@ ; \ + *) echo $$file | sed -e 's,.*/,,' -e 's,^,/* Extracted from ', \ + -e 's,$$,. */,' >> $@ ; \ ./$(MKDOC) -i -f $(srcdir)/proto.str < $$file >> $@ ;; \ esac; \ done @@ -632,9 +630,8 @@ bfd.h: $(BFD_H_DEP) case $$file in \ *-in.h) cat $$file >> $@ ;; \ */header.sed) break ;; \ - *) echo -n '/* Extracted from ' >> $@ ; \ - echo -n $$file | sed -e 's,.*/,,' >> $@ ; \ - echo '. */' >> $@ ; \ + *) echo $$file | sed -e 's,.*/,,' -e 's,^,/* Extracted from ', \ + -e 's,$$,. */,' >> $@ ; \ ./$(MKDOC) -f $(srcdir)/proto.str < $$file >> $@ ;; \ esac; \ done