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
This commit is contained in:
Mark Mitchell 2003-10-21 15:18:25 +00:00 committed by Mark Mitchell
parent 43997658f8
commit 3d56d02516
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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>
* haifa-sched.c (choose_ready): Initialize index.

View File

@ -2969,6 +2969,7 @@ $(DESTDIR)$(infodir)/%.info: $(docobjdir)/%.info installdirs
for f in $(<)*; do \
realfile=`echo $$f | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
$(INSTALL_DATA) $$f $(DESTDIR)$(infodir)/$$realfile; \
chmod a-x $(DESTDIR)$(infodir)/$$realfile; \
done; \
else true; fi
-if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
@ -2978,7 +2979,6 @@ $(DESTDIR)$(infodir)/%.info: $(docobjdir)/%.info installdirs
else true; fi; \
else true; fi; \
else true; fi;
chmod a-x $(@)*
# Install the man pages.
install-man: installdirs $(GENERATED_MANPAGES) lang.install-man