diff --git a/llvm/docs/CommandGuide/Makefile b/llvm/docs/CommandGuide/Makefile index a2953512b819bfa665ccd945f7beca291a9603af..cf77e6a33db06428b4512e67be657da7b13cff8b 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.