summaryrefslogtreecommitdiff
path: root/gcc/fortran/Make-lang.in
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/fortran/Make-lang.in
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/fortran/Make-lang.in')
-rw-r--r--gcc/fortran/Make-lang.in4
1 files changed, 1 insertions, 3 deletions
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).