Commit 3d56d025 by Mark Mitchell Committed by Mark Mitchell

Makefile.in ($(DESTDIR)$(infodir)/%.info): Conditionalize chmod on existence of destination file.

	* Makefile.in ($(DESTDIR)$(infodir)/%.info): Conditionalize chmod
	on existence of destination file.

From-SVN: r72758
parent 43997658
2003-10-21 Mark Mitchell <mark@codesourcery.com>
* Makefile.in ($(DESTDIR)$(infodir)/%.info): Conditionalize chmod
on existence of destination file.
2003-10-21 Jan Hubicka <jh@suse.cz> 2003-10-21 Jan Hubicka <jh@suse.cz>
* haifa-sched.c (choose_ready): Initialize index. * haifa-sched.c (choose_ready): Initialize index.
......
...@@ -2969,6 +2969,7 @@ $(DESTDIR)$(infodir)/%.info: $(docobjdir)/%.info installdirs ...@@ -2969,6 +2969,7 @@ $(DESTDIR)$(infodir)/%.info: $(docobjdir)/%.info installdirs
for f in $(<)*; do \ for f in $(<)*; do \
realfile=`echo $$f | sed -e 's|.*/\([^/]*\)$$|\1|'`; \ realfile=`echo $$f | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
$(INSTALL_DATA) $$f $(DESTDIR)$(infodir)/$$realfile; \ $(INSTALL_DATA) $$f $(DESTDIR)$(infodir)/$$realfile; \
chmod a-x $(DESTDIR)$(infodir)/$$realfile; \
done; \ done; \
else true; fi else true; fi
-if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \ -if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
...@@ -2978,7 +2979,6 @@ $(DESTDIR)$(infodir)/%.info: $(docobjdir)/%.info installdirs ...@@ -2978,7 +2979,6 @@ $(DESTDIR)$(infodir)/%.info: $(docobjdir)/%.info installdirs
else true; fi; \ else true; fi; \
else true; fi; \ else true; fi; \
else true; fi; else true; fi;
chmod a-x $(@)*
# Install the man pages. # Install the man pages.
install-man: installdirs $(GENERATED_MANPAGES) lang.install-man install-man: installdirs $(GENERATED_MANPAGES) lang.install-man
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment