From 9860c7a7f88e5ec88df77a351b24cb9742e24c1a Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 2 Mar 1998 13:36:46 +0000 Subject: [PATCH] Don't update info if makeinfo is too old. --- manual/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/manual/Makefile b/manual/Makefile index 056ec081357..711cb29ba8a 100644 --- a/manual/Makefile +++ b/manual/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 1992, 93, 94, 95, 96, 97 Free Software Foundation, Inc. +# Copyright (C) 1992, 93, 94, 95, 96, 97, 98 Free Software Foundation, Inc. # This file is part of the GNU C Library. # The GNU C Library is free software; you can redistribute it and/or @@ -27,9 +27,13 @@ GAWK = gawk INSTALL_INFO = install-info .PHONY: all dvi info -all: dvi info +all: dvi dvi: libc.dvi + +ifneq ($(strip $(MAKEINFO)),) +all: info info: libc.info dir-add.info +endif # Get glibc's configuration info. ifneq (,$(wildcard ../Makeconfig)) @@ -134,12 +138,14 @@ realclean: distclean .PHONY: install subdir_install installdirs install-data install-data subdir_install: install +ifneq ($(strip $(MAKEINFO)),) install: $(inst_infodir)/libc.info dir-add.info @if $(SHELL) -c '$(INSTALL_INFO) --version' >/dev/null 2>&1; then \ test -f $(inst_infodir)/dir || cp dir $(inst_infodir);\ $(INSTALL_INFO) --info-dir=$(inst_infodir) $(inst_infodir)/libc.info;\ $(INSTALL_INFO) --info-dir=$(inst_infodir) dir-add.info;\ else : ; fi +endif # Catchall implicit rule for other installation targets from the parent. install-%: ; -- 2.47.2