aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1991-11-14 00:20:13 +0000
committerK. Richard Pixley <rich@cygnus>1991-11-14 00:20:13 +0000
commitafe3aa730cd7fddc8f7ab296c91da1e659cda80c (patch)
treee5b5e69b9d4219b61066440898432c9f11a89230 /ld
parent8792d414212b58b62e51c8c97c3ba3102d0afab0 (diff)
downloadfsf-binutils-gdb-afe3aa730cd7fddc8f7ab296c91da1e659cda80c.zip
fsf-binutils-gdb-afe3aa730cd7fddc8f7ab296c91da1e659cda80c.tar.gz
fsf-binutils-gdb-afe3aa730cd7fddc8f7ab296c91da1e659cda80c.tar.bz2
build and install info
Diffstat (limited to 'ld')
-rw-r--r--ld/Makefile.in11
1 files changed, 9 insertions, 2 deletions
diff --git a/ld/Makefile.in b/ld/Makefile.in
index fa6d435..66a2cdb 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -166,7 +166,7 @@ LINTSOURCES= $(LDCSOURCES) $(BFDSOURCES) $(GENERATED_SOURCES)
STAGESTUFF = *.x *.x[ru] *.sc[ru] $(GENERATED_SOURCES) $(GENERATED_HEADERS) $(OFILES) $(LD_PROG) mkscript
-all: Makefile $(LD_PROG)
+all: Makefile $(LD_PROG) ld.info
ldgram.h ldgram.c: ldgram.y
$(BISON) $(BISONFLAGS) -d $(VPATH)/ldgram.y -o ldgram.c
@@ -255,7 +255,7 @@ ld.dvi: $(srcdir)/ld.texinfo
# info file for online browsing
ld.info: $(srcdir)/ld.texinfo
- makeinfo -o ld.info $(srcdir)/ld.texinfo
+ - $(MAKEINFO) -o ld.info $(srcdir)/ld.texinfo
#separate targets for "ms", "me", and "mm" forms of roff doc
# (we don't use a variable because we don't trust all makes to handle
@@ -403,6 +403,13 @@ objdump:objdump.c
install: $(LD_PROG)
$(INSTALL_PROGRAM) ld.new $(ddestdir)/bin/ld
$(INSTALL_PROGRAM) ld.new $(gcclibdir)/ld
+ for i in ld.info* ; do \
+ echo Installing $$i... ; \
+ (cp $$i $(idestdir)/info/$$i.new \
+ && mv -f $(idestdir)/info/$$i.new $(idestdir)/info/$$i) \
+ || exit 1 ; \
+ done
+
# Something like the following might make sense for install, but doesn't work
# - it is too fragile, depending on a gcc binary int the right place.
# Perhaps using gcc/version.c might work?