OSDN Git Service

* Makefile.in ($(DESTDIR)$(infodir)/%.info): Don't condition
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Apr 2004 18:00:05 +0000 (18:00 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Apr 2004 18:00:05 +0000 (18:00 +0000)
calling install-info on $(DESTDIR)$(infodir)/dir already being
present.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81256 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/Makefile.in

index 69cafbb..72cdbcb 100644 (file)
@@ -1,3 +1,9 @@
+2004-04-28  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * Makefile.in ($(DESTDIR)$(infodir)/%.info): Don't condition
+       calling install-info on $(DESTDIR)$(infodir)/dir already being
+       present.
+
 2004-04-28  Paul Brook  <paul@codesourcery.com>
 
        * dwarf2out.c (mem_loc_descriptor): Handle shifts.
index 4b718d5..e2d74e7 100644 (file)
@@ -2985,10 +2985,8 @@ $(DESTDIR)$(infodir)/%.info: doc/%.info installdirs
          done; \
        else true; fi
        -if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
-         if [ -f $(DESTDIR)$(infodir)/dir ] ; then \
-           if [ -f $@ ]; then \
-             install-info --dir-file=$(DESTDIR)$(infodir)/dir $@; \
-           else true; fi; \
+         if [ -f $@ ]; then \
+           install-info --dir-file=$(DESTDIR)$(infodir)/dir $@; \
          else true; fi; \
        else true; fi;