diff options
author | Jeff Law <law@gcc.gnu.org> | 1997-09-02 22:25:26 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1997-09-02 22:25:26 -0600 |
commit | 25faccf92848c3f20dd7739d6faf600cc1360d95 (patch) | |
tree | 427cab04d4f48f888c31aecb158099c40ecac11c /texinfo/Makefile.in | |
parent | 127cd4056ca1180271f04b204e4e3edb52137981 (diff) | |
download | gcc-25faccf92848c3f20dd7739d6faf600cc1360d95.zip gcc-25faccf92848c3f20dd7739d6faf600cc1360d95.tar.gz gcc-25faccf92848c3f20dd7739d6faf600cc1360d95.tar.bz2 |
Makefile.in (install, [...]): Make these phony targets.
* Makefile.in (install, install-info, installdirs, uninstall): Make
these phony targets.
So we don't overwrite a newer version of texinfo that might already be
installed on the system.
* makeinfo/makeinfo.c: Maybe include <stdlib.h> for malloc et al.
* util/install-info.c: Include <string*.h>.
(my_strerror): Use strerror if available.
Avoids alpha bug and redecl of sys_errlist problems.
From-SVN: r15051
Diffstat (limited to 'texinfo/Makefile.in')
-rw-r--r-- | texinfo/Makefile.in | 37 |
1 files changed, 2 insertions, 35 deletions
diff --git a/texinfo/Makefile.in b/texinfo/Makefile.in index 4a50838..0539b9b 100644 --- a/texinfo/Makefile.in +++ b/texinfo/Makefile.in @@ -1,5 +1,5 @@ # Makefile for Texinfo distribution. -# $Id: Makefile.in,v 1.11 1996/10/04 18:40:33 karl Exp $ +# $Id: Makefile.in,v 1.1.1.1 1997/08/21 22:57:51 jason Exp $ # # Copyright (C) 1993, 96 Free Software Foundation, Inc. @@ -87,40 +87,7 @@ installcheck: dvi: texinfo.dvi license.dvi lgpl.dvi @for dir in $(SUBDIRS); do cd $$dir; $(MAKE) $(FLAGS_TO_PASS) $@; cd ..; done -install: all installdirs - test -f $(infodir)/dir || $(INSTALL_DATA) $(srcdir)/dir $(infodir) - for dir in $(SUBDIRS); do \ - echo making $@ in $$dir; \ - (cd $$dir && $(MAKE) $(MDEFINES) $@ || exit 1); \ - done - d=$(srcdir); test -f ./texinfo && d=.; \ - (cd $$d && for f in texinfo* ; do \ - $(INSTALL_DATA) $$f $(infodir)/$$f; done) - $(POST_INSTALL) - ./util/install-info --info-dir=$(infodir) $(infodir)/texinfo - @echo Please install $(srcdir)/texinfo.tex manually. - -installdirs: - -$(SHELL) $(srcdir)/util/mkinstalldirs $(bindir) $(datadir) $(infodir) $(mandir) - -.PHONY: install-info -install-info: info - for dir in $(SUBDIRS); do \ - echo making $@ in $$dir; \ - (cd $$dir && $(MAKE) $(MDEFINES) $@ || exit 1); \ - done - d=$(srcdir); test -f ./texinfo && d=.; \ - (cd $$d; \ - for f in texinfo* ; do \ - $(INSTALL_DATA) $$f $(infodir)/$$f; \ - done) - -uninstall: - for dir in $(SUBDIRS); do \ - echo making $@ in $$dir; \ - (cd $$dir && $(MAKE) $(MDEFINES) $@ || exit 1); \ - done - $(RM) $(infodir)/texinfo $(infodir)/texinfo-* +.PHONY: install installdirs installcheck install-info uninstall Makefile: Makefile.in config.status $(SHELL) ./config.status |