summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2008-12-02 17:38:39 +0000
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2008-12-02 17:38:39 +0000
commit7ada14bbb041dc20b80e26de12d6438df9a3ef3b (patch)
tree67e1d5342109e4063eab2dd9b4eec283240e9527 /gcc
parentf5fec377965fb10837ee39ee309b1c1551c65f11 (diff)
downloadgcc-7ada14bbb041dc20b80e26de12d6438df9a3ef3b.tar.gz
2008-12-02 Jakub Jelinek <jakub@redhat.com>
Diego Novillo <dnovillo@google.com> * Make-lang.in (install-finclude-dir): Use mkinstalldirs and don't remove the finclude directory beforehand. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142365 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/fortran/ChangeLog6
-rw-r--r--gcc/fortran/Make-lang.in4
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index d3ae07fe273..819113b3802 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,9 @@
+2008-12-02 Jakub Jelinek <jakub@redhat.com>
+ Diego Novillo <dnovillo@google.com>
+
+ * Make-lang.in (install-finclude-dir): Use mkinstalldirs
+ and don't remove the finclude directory beforehand.
+
2008-12-02 Janus Weil <janus@gcc.gnu.org>
PR fortran/36704
diff --git a/gcc/fortran/Make-lang.in b/gcc/fortran/Make-lang.in
index 0335a212144..62887329347 100644
--- a/gcc/fortran/Make-lang.in
+++ b/gcc/fortran/Make-lang.in
@@ -211,9 +211,7 @@ doc/gfc-internals.pdf: $(GFC_INTERNALS_TEXI)
# Create or recreate the gfortran private include file directory.
install-finclude-dir: installdirs
- -rm -rf $(DESTDIR)$(libsubdir)/finclude
- mkdir $(DESTDIR)$(libsubdir)/finclude
- -chmod a+rx $(DESTDIR)$(libsubdir)/finclude
+ $(mkinstalldirs) -m a+rx $(DESTDIR)$(libsubdir)/finclude
#
# Install hooks:
# f951 is installed elsewhere as part of $(COMPILERS).