From: Tanya Lattner Date: Mon, 9 Jun 2008 07:14:31 +0000 (+0000) Subject: Create dirs as needed. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=301d5b48cbedf5c6c57ce0955c6097b522d68062;p=oota-llvm.git Create dirs as needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52131 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/CommandGuide/Makefile b/docs/CommandGuide/Makefile index a2953512b81..cf77e6a33db 100644 --- a/docs/CommandGuide/Makefile +++ b/docs/CommandGuide/Makefile @@ -23,6 +23,12 @@ all:: html man ps clean: rm -f pod2htm*.*~~ $(HTML) $(MAN) $(PS) + +# To create other directories, as needed, and timestamp their creation +%/.dir: + -mkdir $* > /dev/null + date > $@ + else # Otherwise, if not in BUILD_FOR_WEBSITE mode, use the project info.