summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--llvm/docs/CommandGuide/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/Makefile b/llvm/docs/CommandGuide/Makefile
index a2953512b819..cf77e6a33db0 100644
--- a/llvm/docs/CommandGuide/Makefile
+++ b/llvm/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.