aboutsummaryrefslogtreecommitdiff
path: root/ld/Makefile.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1998-07-07 22:04:16 +0000
committerIan Lance Taylor <ian@airs.com>1998-07-07 22:04:16 +0000
commit3964a18abeeac59106cde2824c1967af5201b34b (patch)
tree9e6e6e9e47b8d07db688f77869a1a3d31f5cd626 /ld/Makefile.in
parent9107a66f2fa12ff54ba4ac988d4db5c2e98c2cc2 (diff)
downloadgdb-3964a18abeeac59106cde2824c1967af5201b34b.zip
gdb-3964a18abeeac59106cde2824c1967af5201b34b.tar.gz
gdb-3964a18abeeac59106cde2824c1967af5201b34b.tar.bz2
* Makefile.am (ldver.texi): New target.
(ld.info, ld.dvi): Depend upon ldver.texi. * ld.texinfo: Include ldver.texi. Mention version number on title page and in top node. * Makefile.in: Rebuild.
Diffstat (limited to 'ld/Makefile.in')
-rw-r--r--ld/Makefile.in20
1 files changed, 11 insertions, 9 deletions
diff --git a/ld/Makefile.in b/ld/Makefile.in
index 564dfe0..a7633ff 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -379,9 +379,6 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
$(ACLOCAL_M4): @MAINT@ configure.in acinclude.m4
cd $(srcdir) && $(ACLOCAL)
-
-config.status: $(srcdir)/configure
- $(SHELL) ./config.status --recheck
$(srcdir)/configure: @MAINT@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
cd $(srcdir) && $(AUTOCONF)
@@ -1288,16 +1285,21 @@ configdoc.texi: ${DOCVER}-doc.texi
|| ln ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \
|| cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
-ld.info: $(srcdir)/ld.texinfo configdoc.texi
+ldver.texi: Makefile
+ rm -f $@
+ echo '@set VERSION $(VERSION)' > $@
+
+ld.info: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
$(MAKEINFO) -I $(srcdir) -I $(BFDDIR)/doc $(srcdir)/ld.texinfo
-ld.dvi: $(srcdir)/ld.texinfo configdoc.texi
+ld.dvi: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
MAKEINFO='$(MAKEINFO) -I $(srcdir) -I $(BFDDIR)/doc' $(TEXI2DVI) $(srcdir)/ld.texinfo
# We want to reconfigure if configure.host or configure.tgt changes.
-Makefile: configure.host configure.tgt
+config.status: $(srcdir)/configure $(srcdir)/configure.host $(srcdir)/configure.tgt
+ $(SHELL) ./config.status --recheck
mostlyclean-local:
-rm -rf tmpdir
@@ -1307,8 +1309,8 @@ install-exec-local: ld-new$(EXEEXT)
$(mkinstalldirs) $(bindir) $(tooldir)/bin
@list='$(noinst_PROGRAMS)'; for p in $$list; do \
if test -f $$p; then \
- echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/-new//'|sed '$(transform)'`"; \
- $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/-new//'|sed '$(transform)'`; \
+ echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
+ $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
else :; fi; \
done
rm -f $(tooldir)/bin/ld$(EXEEXT)
@@ -1319,7 +1321,7 @@ install-exec-local: ld-new$(EXEEXT)
fi
install-data-local:
- $(mkinstalldirs) $(scriptdir)
+ $(mkinstalldirs) $(scriptdir)/ldscripts
for f in ldscripts/*; do \
$(INSTALL_DATA) $$f $(scriptdir)/$$f ; \
done