summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-30 05:53:21 +0000
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-30 05:53:21 +0000
commit87b6be85928fa88cdbb45abb63d9c62738f6a228 (patch)
tree197cfc4fef2e2e3e09f6fc225f5dff35338b5afe
parent9e9dbefbb483a6d0c075cb78884ce74d0c9d090c (diff)
downloadgcc-87b6be85928fa88cdbb45abb63d9c62738f6a228.tar.gz
* Makefile.in (install-cpp): Depend on installdirs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100350 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/Makefile.in2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 754a0277229..780a75f9015 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2005-05-29 Geoffrey Keating <geoffk@apple.com>
+
+ * Makefile.in (install-cpp): Depend on installdirs.
+
2005-05-30 Kazu Hirata <kazu@cs.umass.edu>
* tree-outof-ssa.c (_elim_graph): Change the type of edge_list
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 27943057afa..1839dd4ae47 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -3401,7 +3401,7 @@ install: install-common $(INSTALL_HEADERS) $(INSTALL_LIBGCC) \
lang.install-normal install-driver
# Handle cpp installation.
-install-cpp: cpp$(exeext)
+install-cpp: installdirs cpp$(exeext)
-rm -f $(DESTDIR)$(bindir)/$(CPP_INSTALL_NAME)$(exeext)
-$(INSTALL_PROGRAM) -m 755 cpp$(exeext) $(DESTDIR)$(bindir)/$(CPP_INSTALL_NAME)$(exeext)
-if [ x$(cpp_install_dir) != x ]; then \