From: dooglus Date: Sat, 10 Mar 2007 03:10:35 +0000 (+0000) Subject: Use 'mkdir -p' to create parent directories as needed. Prevents this error: X-Git-Url: https://git.pterodactylus.net/?p=synfig.git;a=commitdiff_plain;h=2e586edc03d6bfb0060efe28c1445f67ed5836ce Use 'mkdir -p' to create parent directories as needed. Prevents this error: $ make multiple-html mkdir result/en/out-htmls mkdir: cannot create directory `result/en/out-htmls': No such file or directory git-svn-id: http://svn.voria.com/code@282 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-docs/trunk/Makefile b/synfig-docs/trunk/Makefile index 7881739..c33173a 100644 --- a/synfig-docs/trunk/Makefile +++ b/synfig-docs/trunk/Makefile @@ -109,7 +109,7 @@ ${INDEX}.sgml.m: HTML.index.m perl -S collateindex.pl -o ${SGMLDIR}/${INDEX}.sgml.m ${SGMLDIR}/HTML.index.m ${MULTIPLEHTMLDIR}: - mkdir ${MULTIPLEHTMLDIR} + mkdir -p ${MULTIPLEHTMLDIR} cpfilesmultiple: ${PNGMULTIPLE} ${OTHERMULTIPLE} @@ -132,7 +132,7 @@ ${PSDIR}/%.eps: ${PNGDIR}/%.png ${PSDIR} convert $< $@ ${PSDIR}: - mkdir ${PSDIR} + mkdir -p ${PSDIR} #Rules needed for generating the pdf file @@ -147,7 +147,7 @@ ${PDFDIR}/${DOC}.pdf: ${PDFDIR} ${INDEX}.sgml.m cd .. ${PDFDIR}: - mkdir ${PDFDIR} + mkdir -p ${PDFDIR} #Some additional and standard tags init: