]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Don't update info if makeinfo is too old.
authorUlrich Drepper <drepper@redhat.com>
Mon, 2 Mar 1998 13:36:46 +0000 (13:36 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 2 Mar 1998 13:36:46 +0000 (13:36 +0000)
manual/Makefile

index 056ec081357358931c40a74164b05218d4d1eadb..711cb29ba8a28da8f037e7610cfdffd13f102c74 100644 (file)
@@ -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-%: ;