diff options
author | Michael Chastain <mec@google.com> | 2004-05-27 21:22:49 +0000 |
---|---|---|
committer | Michael Chastain <mec@google.com> | 2004-05-27 21:22:49 +0000 |
commit | d866f350ab22cfeb5e68e1e600d70088a081d956 (patch) | |
tree | 942cf340f6b1eabdd8c6362090a7d269858a1572 /bfd/Makefile.am | |
parent | 88f64edc1441310c31df0cebd90b6788bb5b54fa (diff) | |
download | gdb-d866f350ab22cfeb5e68e1e600d70088a081d956.zip gdb-d866f350ab22cfeb5e68e1e600d70088a081d956.tar.gz gdb-d866f350ab22cfeb5e68e1e600d70088a081d956.tar.bz2 |
2004-05-27 Michael Chastain <mec.gnu@mindspring.com>
* Makefile.am (bfdver.h): Use explicit filename, not $< .
* Makefile.in: Regenerate.
Diffstat (limited to 'bfd/Makefile.am')
-rw-r--r-- | bfd/Makefile.am | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/Makefile.am b/bfd/Makefile.am index b9f13a2..400a820 100644 --- a/bfd/Makefile.am +++ b/bfd/Makefile.am @@ -869,15 +869,15 @@ DISTCLEANFILES = $(BUILD_CFILES) $(BUILD_HFILES) config.status: $(srcdir)/configure $(srcdir)/config.bfd $(srcdir)/configure.host $(SHELL) ./config.status --recheck -bfdver.h: version.h Makefile.in +bfdver.h: $(srcdir)/version.h $(srcdir)/Makefile.in @echo "creating $@" @bfd_version=`echo "$(VERSION)" | sed -e 's/\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\).*/\1.00\2.00\3.00\4.00\5/' -e 's/\([^\.]*\)\..*\(..\)\..*\(..\)\..*\(..\)\..*\(..\)$$/\1\2\3\4\5/'` ;\ bfd_version_string="\"$(VERSION)\"" ;\ if test "x$(RELEASE)" = x ; then \ - bfd_version_date=`sed -n -e 's/.*DATE //p' < $<` ;\ + bfd_version_date=`sed -n -e 's/.*DATE //p' < $(srcdir)/version.h` ;\ bfd_version_string="\"$(VERSION) $${bfd_version_date}\"" ;\ fi ;\ - sed -e "s/@bfd_version@/$$bfd_version/" -e "s/@bfd_version_string@/$$bfd_version_string/" < $< > $@ + sed -e "s/@bfd_version@/$$bfd_version/" -e "s/@bfd_version_string@/$$bfd_version_string/" < $(srcdir)/version.h > $@ # What appears below is generated by a hacked mkdep using gcc -MM. |