aboutsummaryrefslogtreecommitdiff
path: root/bfd/Makefile.am
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-04-09 15:36:44 +0000
committerDaniel Jacobowitz <drow@false.org>2007-04-09 15:36:44 +0000
commit9150673628eae2af8140585b0164b1b667b70ce3 (patch)
treee7b7ea069fc4302329e75dc6ea08a345878541ad /bfd/Makefile.am
parent6eef13555fc27f5e4e7a10e229883ae57f0560d9 (diff)
downloadgdb-9150673628eae2af8140585b0164b1b667b70ce3.zip
gdb-9150673628eae2af8140585b0164b1b667b70ce3.tar.gz
gdb-9150673628eae2af8140585b0164b1b667b70ce3.tar.bz2
* src-release (do-proto-toplev): Process the support directories before
the tool directory. * Makefile.am (bfdver.h): Do not generate doc/bfdver.texi. * doc/Makefile.am (DOCFILES): Add bfdver.texi. (bfdver.texi): New rule. * Makefile.in, doc/Makefile.in: Regenerated.
Diffstat (limited to 'bfd/Makefile.am')
-rw-r--r--bfd/Makefile.am13
1 files changed, 2 insertions, 11 deletions
diff --git a/bfd/Makefile.am b/bfd/Makefile.am
index e579733..165d6ae 100644
--- a/bfd/Makefile.am
+++ b/bfd/Makefile.am
@@ -964,8 +964,7 @@ CLEANFILES = bfd.h dep.sed stmp-bfd-h DEP DEPA DEP1 DEP2 libbfd.a stamp-lib \
DISTCLEANFILES = $(BUILD_CFILES) $(BUILD_HFILES)
bfdver.h: $(srcdir)/version.h $(srcdir)/Makefile.in
- @-test -d doc || mkdir doc
- @echo "creating $@ and doc/bfdver.texi"
+ @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)\"" ;\
bfd_version_package="\"$(PKGVERSION)\"" ;\
@@ -978,15 +977,7 @@ bfdver.h: $(srcdir)/version.h $(srcdir)/Makefile.in
-e "s,@bfd_version_string@,$$bfd_version_string," \
-e "s,@bfd_version_package@,$$bfd_version_package," \
-e "s,@report_bugs_to@,$$report_bugs_to," \
- < $(srcdir)/version.h > $@; \
- echo "@set VERSION $(VERSION)" > doc/bfdver.texi; \
- if [ -n "$(PKGVERSION)" ]; then \
- echo "@set VERSION_PACKAGE $(PKGVERSION)" >> doc/bfdver.texi; \
- fi; \
- echo "@set UPDATED `date '+%B %Y'`" >> doc/bfdver.texi; \
- if [ -n "$(REPORT_BUGS_TEXI)" ]; then \
- echo "@set BUGURL $(REPORT_BUGS_TEXI)" >> doc/bfdver.texi; \
- fi
+ < $(srcdir)/version.h > $@
# What appears below is generated by a hacked mkdep using gcc -MM.