aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2003-10-21 15:18:25 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2003-10-21 15:18:25 +0000
commit3d56d025168880a323e6b1985a4ff8ca357a475d (patch)
tree129ae0bd5e1687d3d326361ccf3b80049be32408 /gcc
parent43997658f83d47b02ff6329c2e7e562c68eeb86c (diff)
downloadgcc-3d56d025168880a323e6b1985a4ff8ca357a475d.zip
gcc-3d56d025168880a323e6b1985a4ff8ca357a475d.tar.gz
gcc-3d56d025168880a323e6b1985a4ff8ca357a475d.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/Makefile.in2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b0e7983..ae773f0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 06dc470..8c42097 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -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