summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2008-06-09 07:14:31 +0000
committerTanya Lattner <tonic@nondot.org>2008-06-09 07:14:31 +0000
commit301d5b48cbedf5c6c57ce0955c6097b522d68062 (patch)
tree9220076be65d6c1123992a2d2d90da90a8f9abd8 /docs
parenta3bd11d0280d6b9f65b4495ab0fb41428ea071f1 (diff)
downloadllvm-301d5b48cbedf5c6c57ce0955c6097b522d68062.tar.gz
llvm-301d5b48cbedf5c6c57ce0955c6097b522d68062.tar.bz2
llvm-301d5b48cbedf5c6c57ce0955c6097b522d68062.tar.xz
Create dirs as needed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52131 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/CommandGuide/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/CommandGuide/Makefile b/docs/CommandGuide/Makefile
index a2953512b8..cf77e6a33d 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.