Use mkinstalldirs instead of mkdir.

From-SVN: r44580
This commit is contained in:
Nick Clifton 2001-08-02 18:36:54 +00:00 committed by Nick Clifton
parent 215b48a70c
commit 6dda00f018
3 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-08-02 Nick Clifton <nickc@cambridge.redhat.com>
* Makefile.in (libgcc.mk): Define mkinstalldirs.
* mklibgcc.in: Use mkinstalldirs instead of mkdir.
2001-08-02 Lars Brinkhoff <lars@nocrew.org>
* config/vax/vax.c: include expr.h.

View File

@ -1033,6 +1033,7 @@ libgcc.mk: config.status Makefile mklibgcc $(LIB2ADD) $(LIB2ADD_ST) xgcc$(exeext
SHLIB_MKMAP='$(SHLIB_MKMAP)' \
SHLIB_MAPFILES='$(SHLIB_MAPFILES)' \
SHLIB_NM_FLAGS='$(SHLIB_NM_FLAGS)' \
mkinstalldirs='$(SHELL) $(srcdir)/mkinstalldirs' \
$(SHELL) mklibgcc > tmp-libgcc.mk
mv tmp-libgcc.mk libgcc.mk

View File

@ -332,7 +332,7 @@ done
echo 'stmp-dirs: force'
echo ' for d in '"$dirs"'; do \'
echo ' if [ -d $$d ]; then true; else mkdir $$d; fi \'
echo ' if [ -d $$d ]; then true; else "'$mkinstalldirs'" $$d; fi \'
echo ' done'
echo ' if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi'