(install-dir): If cross-compiler, create $(tooldir) and $(assertdir).

From-SVN: r2889
This commit is contained in:
Richard Stallman 1992-12-16 20:50:04 +00:00
parent 3a523eebbc
commit 58055e406c

View File

@ -1442,6 +1442,12 @@ install-dir:
-if [ -d $(libdir)/gcc-lib/$(target)/$(version)/include ] ; then true ; else mkdir $(libdir)/gcc-lib/$(target)/$(version)/include ; fi
-if [ -d $(bindir) ] ; then true ; else mkdir $(bindir) ; fi
-if [ -d $(includedir) ] ; then true ; else mkdir $(includedir) ; fi
-if [ -d $(includedir) ] ; then true ; else mkdir $(includedir) ; fi
-if [ -f gcc-cross ] ; \
if [ -d $(tooldir) ] ; then true ; else mkdir $(tooldir) ; fi \
if [ -d $(assertdir) ] ; then true ; else mkdir $(assertdir) ; fi \
else true; \
fi
# We don't use mkdir -p to create the parents of mandir,
# because some systems don't support it.
# Instead, we use this technique to create the immediate parent of mandir.