OSDN Git Service

2008-12-02 Jakub Jelinek <jakub@redhat.com>
[pf3gnuchains/gcc-fork.git] / gcc / fortran / Make-lang.in
index 0335a21..6288732 100644 (file)
@@ -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
 #\f
 # Install hooks:
 # f951 is installed elsewhere as part of $(COMPILERS).