diff options
author | K. Richard Pixley <rich@cygnus> | 1991-11-14 00:14:57 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1991-11-14 00:14:57 +0000 |
commit | de53632ceb540ecdb6f92dab0fae6b29d83b6025 (patch) | |
tree | 38bec7b0cb11b328ebfdbf26bdbcb8aa104c53c4 /binutils | |
parent | 9abcc3b8c4eb0df22294082a7aef9be25125ee1f (diff) | |
download | gdb-de53632ceb540ecdb6f92dab0fae6b29d83b6025.zip gdb-de53632ceb540ecdb6f92dab0fae6b29d83b6025.tar.gz gdb-de53632ceb540ecdb6f92dab0fae6b29d83b6025.tar.bz2 |
build and install info; install other correctly
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/Makefile.in | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/binutils/Makefile.in b/binutils/Makefile.in index 7cbdb96..d3b1f71 100644 --- a/binutils/Makefile.in +++ b/binutils/Makefile.in @@ -25,6 +25,7 @@ ddestdir = /usr/local idestdir = $(ddestdir) SHELL = /bin/sh +MAKEINFO=makeinfo # Distribution version VERSION=1.91 @@ -104,8 +105,7 @@ BFD = $(LIBDIR)/libbfd.a # ## The rules -all: $(ADDL_LIBS) $(PROGS) - +all: $(ADDL_LIBS) $(PROGS) binutils.info #$(BFD):$(LIBDIR)/../common/*.c # (cd $(LIBDIR); make) @@ -183,7 +183,7 @@ binutils.dvi: $(srcdir)/binutils.texi # info file for online browsing binutils.info: $(srcdir)/binutils.texi - makeinfo -o binutils.info $(srcdir)/binutils.texi + - $(MAKEINFO) -o binutils.info $(srcdir)/binutils.texi # different targets for -ms, -mm, -me # (we don't use a variable because we don't trust all makes to handle @@ -231,12 +231,19 @@ realclean: clean install: $(PROGS) for i in $(PROGS) ; do \ - cp $$i $(bindir)/$$i.new ; \ - mv -f $(bindir)/$$i.new $(bindir)/$$i ; \ + (cp $$i $(bindir)/$$i.new \ + && mv -f $(bindir)/$$i.new $(bindir)/$$i) \ + || exit 1 ; \ done for i in $(MANPAGES) ; do \ - cp $(srcdir)/$$i $(mandir)/man1/$$i.new ; \ - mv -f $(mandir)/man1/$$i.new $(mandir)/man1/$$i ; \ + (cp $(srcdir)/$$i $(mandir)/man1/$$i.new \ + && mv -f $(mandir)/man1/$$i.new $(mandir)/man1/$$i) \ + || exit 1 ; \ + done + for i in *.info* ; do \ + (cp $$i $(idestdir)/info/$$i.new \ + && mv -f $(idestdir)/info/$$i.new $(idestdir)/info/$$i) \ + || exit 1 ; \ done dist: $(DIST_NAME).tar.Z |