Create dirs as needed.
authorTanya Lattner <tonic@nondot.org>
Mon, 9 Jun 2008 07:14:31 +0000 (07:14 +0000)
committerTanya Lattner <tonic@nondot.org>
Mon, 9 Jun 2008 07:14:31 +0000 (07:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52131 91177308-0d34-0410-b5e6-96231b3b80d8

docs/CommandGuide/Makefile

index a2953512b819bfa665ccd945f7beca291a9603af..cf77e6a33db06428b4512e67be657da7b13cff8b 100644 (file)
@@ -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.