diff options
author | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-12-02 17:38:39 +0000 |
---|---|---|
committer | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-12-02 17:38:39 +0000 |
commit | 7ada14bbb041dc20b80e26de12d6438df9a3ef3b (patch) | |
tree | 67e1d5342109e4063eab2dd9b4eec283240e9527 /gcc/fortran/Make-lang.in | |
parent | f5fec377965fb10837ee39ee309b1c1551c65f11 (diff) | |
download | gcc-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.in | 4 |
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). |