Overhauled llvm/clang docs builds. Closes PR6613.
authormike-m <mikem.llvm@gmail.com>
Thu, 6 May 2010 23:45:43 +0000 (23:45 +0000)
committermike-m <mikem.llvm@gmail.com>
Thu, 6 May 2010 23:45:43 +0000 (23:45 +0000)
commit68cb31901c590cabceee6e6356d62c84142114cb
tree6444bddc975b662fbe47d63cd98a7b776a407c1a
parentc26ae5ab7e2d65b67c97524e66f50ce86445dec7
Overhauled llvm/clang docs builds. Closes PR6613.

NOTE: 2nd part changeset for cfe trunk to follow.

*** PRE-PATCH ISSUES ADDRESSED

- clang api docs fail build from objdir
- clang/llvm api docs collide in install PREFIX/
- clang/llvm main docs collide in install
- clang/llvm main docs have full of hard coded destination
  assumptions and make use of absolute root in static html files;
  namely CommandGuide tools hard codes a website destination
  for cross references and some html cross references assume
  website root paths

*** IMPROVEMENTS

- bumped Doxygen from 1.4.x -> 1.6.3
- splits llvm/clang docs into 'main' and 'api' (doxygen) build trees
- provide consistent, reliable doc builds for both main+api docs
- support buid vs. install vs. website intentions
- support objdir builds
- document targets with 'make help'
- correct clean and uninstall operations
- use recursive dir delete only where absolutely necessary
- added call function fn.RMRF which safeguards against botched 'rm -rf';
  if any target (or any variable is evaluated) which attempts
  to remove any dirs which match a hard-coded 'safelist', a verbose
  error will be printed and make will error-stop.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103213 91177308-0d34-0410-b5e6-96231b3b80d8
257 files changed:
Makefile.config.in
autoconf/configure.ac
configure
docs/AliasAnalysis.html [deleted file]
docs/BitCodeFormat.html [deleted file]
docs/Bugpoint.html [deleted file]
docs/CFEBuildInstrs.html [deleted file]
docs/CMake.html [deleted file]
docs/CodeGenerator.html [deleted file]
docs/CodingStandards.html [deleted file]
docs/CommandGuide/FileCheck.pod [deleted file]
docs/CommandGuide/Makefile [deleted file]
docs/CommandGuide/bugpoint.pod [deleted file]
docs/CommandGuide/html/manpage.css [deleted file]
docs/CommandGuide/index.html [deleted file]
docs/CommandGuide/lit.pod [deleted file]
docs/CommandGuide/llc.pod [deleted file]
docs/CommandGuide/lli.pod [deleted file]
docs/CommandGuide/llvm-ar.pod [deleted file]
docs/CommandGuide/llvm-as.pod [deleted file]
docs/CommandGuide/llvm-bcanalyzer.pod [deleted file]
docs/CommandGuide/llvm-config.pod [deleted file]
docs/CommandGuide/llvm-dis.pod [deleted file]
docs/CommandGuide/llvm-extract.pod [deleted file]
docs/CommandGuide/llvm-ld.pod [deleted file]
docs/CommandGuide/llvm-link.pod [deleted file]
docs/CommandGuide/llvm-nm.pod [deleted file]
docs/CommandGuide/llvm-prof.pod [deleted file]
docs/CommandGuide/llvm-ranlib.pod [deleted file]
docs/CommandGuide/llvmc.pod [deleted file]
docs/CommandGuide/llvmgcc.pod [deleted file]
docs/CommandGuide/llvmgxx.pod [deleted file]
docs/CommandGuide/manpage.css [deleted file]
docs/CommandGuide/opt.pod [deleted file]
docs/CommandGuide/tblgen.pod [deleted file]
docs/CommandLine.html [deleted file]
docs/CompilerDriver.html [deleted file]
docs/CompilerDriverTutorial.html [deleted file]
docs/CompilerWriterInfo.html [deleted file]
docs/DebuggingJITedCode.html [deleted file]
docs/DeveloperPolicy.html [deleted file]
docs/ExceptionHandling.html [deleted file]
docs/ExtendedIntegerResults.txt [deleted file]
docs/ExtendingLLVM.html [deleted file]
docs/FAQ.html [deleted file]
docs/GCCFEBuildInstrs.html [deleted file]
docs/GarbageCollection.html [deleted file]
docs/GetElementPtr.html [deleted file]
docs/GettingStarted.html [deleted file]
docs/GettingStartedVS.html [deleted file]
docs/GoldPlugin.html [deleted file]
docs/HistoricalNotes/2000-11-18-EarlyDesignIdeas.txt [deleted file]
docs/HistoricalNotes/2000-11-18-EarlyDesignIdeasResp.txt [deleted file]
docs/HistoricalNotes/2000-12-06-EncodingIdea.txt [deleted file]
docs/HistoricalNotes/2000-12-06-MeetingSummary.txt [deleted file]
docs/HistoricalNotes/2001-01-31-UniversalIRIdea.txt [deleted file]
docs/HistoricalNotes/2001-02-06-TypeNotationDebate.txt [deleted file]
docs/HistoricalNotes/2001-02-06-TypeNotationDebateResp1.txt [deleted file]
docs/HistoricalNotes/2001-02-06-TypeNotationDebateResp2.txt [deleted file]
docs/HistoricalNotes/2001-02-06-TypeNotationDebateResp4.txt [deleted file]
docs/HistoricalNotes/2001-02-09-AdveComments.txt [deleted file]
docs/HistoricalNotes/2001-02-09-AdveCommentsResponse.txt [deleted file]
docs/HistoricalNotes/2001-02-13-Reference-Memory.txt [deleted file]
docs/HistoricalNotes/2001-02-13-Reference-MemoryResponse.txt [deleted file]
docs/HistoricalNotes/2001-04-16-DynamicCompilation.txt [deleted file]
docs/HistoricalNotes/2001-05-18-ExceptionHandling.txt [deleted file]
docs/HistoricalNotes/2001-05-19-ExceptionResponse.txt [deleted file]
docs/HistoricalNotes/2001-06-01-GCCOptimizations.txt [deleted file]
docs/HistoricalNotes/2001-06-01-GCCOptimizations2.txt [deleted file]
docs/HistoricalNotes/2001-06-20-.NET-Differences.txt [deleted file]
docs/HistoricalNotes/2001-07-06-LoweringIRForCodeGen.txt [deleted file]
docs/HistoricalNotes/2001-09-18-OptimizeExceptions.txt [deleted file]
docs/HistoricalNotes/2002-05-12-InstListChange.txt [deleted file]
docs/HistoricalNotes/2002-06-25-MegaPatchInfo.txt [deleted file]
docs/HistoricalNotes/2003-01-23-CygwinNotes.txt [deleted file]
docs/HistoricalNotes/2003-06-25-Reoptimizer1.txt [deleted file]
docs/HistoricalNotes/2003-06-26-Reoptimizer2.txt [deleted file]
docs/HistoricalNotes/2007-OriginalClangReadme.txt [deleted file]
docs/HowToReleaseLLVM.html [deleted file]
docs/HowToSubmitABug.html [deleted file]
docs/LangRef.html [deleted file]
docs/Lexicon.html [deleted file]
docs/LinkTimeOptimization.html [deleted file]
docs/Makefile
docs/MakefileGuide.html [deleted file]
docs/Packaging.html [deleted file]
docs/Passes.html [deleted file]
docs/ProgrammersManual.html [deleted file]
docs/Projects.html [deleted file]
docs/ReleaseNotes.html [deleted file]
docs/SourceLevelDebugging.html [deleted file]
docs/SystemLibrary.html [deleted file]
docs/TableGenFundamentals.html [deleted file]
docs/TestingGuide.html [deleted file]
docs/UsingLibraries.html [deleted file]
docs/WritingAnLLVMBackend.html [deleted file]
docs/WritingAnLLVMPass.html [deleted file]
docs/api/Makefile [new file with mode: 0644]
docs/api/api.css [new file with mode: 0644]
docs/api/doxygen.cfg.in [new file with mode: 0644]
docs/api/footer.html [new file with mode: 0644]
docs/api/header.html [new file with mode: 0644]
docs/api/intro.h [new file with mode: 0644]
docs/api/layout.xml [new file with mode: 0644]
docs/doxygen.cfg.in [deleted file]
docs/doxygen.css [deleted file]
docs/doxygen.footer [deleted file]
docs/doxygen.header [deleted file]
docs/doxygen.intro [deleted file]
docs/img/Debugging.gif [deleted file]
docs/img/libdeps.gif [deleted file]
docs/img/lines.gif [deleted file]
docs/img/objdeps.gif [deleted file]
docs/img/venusflytrap.jpg [deleted file]
docs/index.html [deleted file]
docs/llvm.css [deleted file]
docs/main/AliasAnalysis.html [new file with mode: 0644]
docs/main/BitCodeFormat.html [new file with mode: 0644]
docs/main/Bugpoint.html [new file with mode: 0644]
docs/main/CFEBuildInstrs.html [new file with mode: 0644]
docs/main/CMake.html [new file with mode: 0644]
docs/main/CodeGenerator.html [new file with mode: 0644]
docs/main/CodingStandards.html [new file with mode: 0644]
docs/main/CommandGuide/FileCheck.pod [new file with mode: 0644]
docs/main/CommandGuide/bugpoint.pod [new file with mode: 0644]
docs/main/CommandGuide/html/manpage.css [new file with mode: 0644]
docs/main/CommandGuide/index.html [new file with mode: 0644]
docs/main/CommandGuide/lit.pod [new file with mode: 0644]
docs/main/CommandGuide/llc.pod [new file with mode: 0644]
docs/main/CommandGuide/lli.pod [new file with mode: 0644]
docs/main/CommandGuide/llvm-ar.pod [new file with mode: 0644]
docs/main/CommandGuide/llvm-as.pod [new file with mode: 0644]
docs/main/CommandGuide/llvm-bcanalyzer.pod [new file with mode: 0644]
docs/main/CommandGuide/llvm-config.pod [new file with mode: 0644]
docs/main/CommandGuide/llvm-dis.pod [new file with mode: 0644]
docs/main/CommandGuide/llvm-extract.pod [new file with mode: 0644]
docs/main/CommandGuide/llvm-ld.pod [new file with mode: 0644]
docs/main/CommandGuide/llvm-link.pod [new file with mode: 0644]
docs/main/CommandGuide/llvm-nm.pod [new file with mode: 0644]
docs/main/CommandGuide/llvm-prof.pod [new file with mode: 0644]
docs/main/CommandGuide/llvm-ranlib.pod [new file with mode: 0644]
docs/main/CommandGuide/llvmc.pod [new file with mode: 0644]
docs/main/CommandGuide/llvmgcc.pod [new file with mode: 0644]
docs/main/CommandGuide/llvmgxx.pod [new file with mode: 0644]
docs/main/CommandGuide/manpage.css [new file with mode: 0644]
docs/main/CommandGuide/opt.pod [new file with mode: 0644]
docs/main/CommandGuide/tblgen.pod [new file with mode: 0644]
docs/main/CommandLine.html [new file with mode: 0644]
docs/main/CompilerDriver.html [new file with mode: 0644]
docs/main/CompilerDriverTutorial.html [new file with mode: 0644]
docs/main/CompilerWriterInfo.html [new file with mode: 0644]
docs/main/DebuggingJITedCode.html [new file with mode: 0644]
docs/main/DeveloperPolicy.html [new file with mode: 0644]
docs/main/ExceptionHandling.html [new file with mode: 0644]
docs/main/ExtendedIntegerResults.txt [new file with mode: 0644]
docs/main/ExtendingLLVM.html [new file with mode: 0644]
docs/main/FAQ.html [new file with mode: 0644]
docs/main/GCCFEBuildInstrs.html [new file with mode: 0644]
docs/main/GarbageCollection.html [new file with mode: 0644]
docs/main/GetElementPtr.html [new file with mode: 0644]
docs/main/GettingStarted.html [new file with mode: 0644]
docs/main/GettingStartedVS.html [new file with mode: 0644]
docs/main/GoldPlugin.html [new file with mode: 0644]
docs/main/HistoricalNotes/2000-11-18-EarlyDesignIdeas.txt [new file with mode: 0644]
docs/main/HistoricalNotes/2000-11-18-EarlyDesignIdeasResp.txt [new file with mode: 0644]
docs/main/HistoricalNotes/2000-12-06-EncodingIdea.txt [new file with mode: 0644]
docs/main/HistoricalNotes/2000-12-06-MeetingSummary.txt [new file with mode: 0644]
docs/main/HistoricalNotes/2001-01-31-UniversalIRIdea.txt [new file with mode: 0644]
docs/main/HistoricalNotes/2001-02-06-TypeNotationDebate.txt [new file with mode: 0644]
docs/main/HistoricalNotes/2001-02-06-TypeNotationDebateResp1.txt [new file with mode: 0644]
docs/main/HistoricalNotes/2001-02-06-TypeNotationDebateResp2.txt [new file with mode: 0644]
docs/main/HistoricalNotes/2001-02-06-TypeNotationDebateResp4.txt [new file with mode: 0644]
docs/main/HistoricalNotes/2001-02-09-AdveComments.txt [new file with mode: 0644]
docs/main/HistoricalNotes/2001-02-09-AdveCommentsResponse.txt [new file with mode: 0644]
docs/main/HistoricalNotes/2001-02-13-Reference-Memory.txt [new file with mode: 0644]
docs/main/HistoricalNotes/2001-02-13-Reference-MemoryResponse.txt [new file with mode: 0644]
docs/main/HistoricalNotes/2001-04-16-DynamicCompilation.txt [new file with mode: 0644]
docs/main/HistoricalNotes/2001-05-18-ExceptionHandling.txt [new file with mode: 0644]
docs/main/HistoricalNotes/2001-05-19-ExceptionResponse.txt [new file with mode: 0644]
docs/main/HistoricalNotes/2001-06-01-GCCOptimizations.txt [new file with mode: 0644]
docs/main/HistoricalNotes/2001-06-01-GCCOptimizations2.txt [new file with mode: 0644]
docs/main/HistoricalNotes/2001-06-20-.NET-Differences.txt [new file with mode: 0644]
docs/main/HistoricalNotes/2001-07-06-LoweringIRForCodeGen.txt [new file with mode: 0644]
docs/main/HistoricalNotes/2001-09-18-OptimizeExceptions.txt [new file with mode: 0644]
docs/main/HistoricalNotes/2002-05-12-InstListChange.txt [new file with mode: 0644]
docs/main/HistoricalNotes/2002-06-25-MegaPatchInfo.txt [new file with mode: 0644]
docs/main/HistoricalNotes/2003-01-23-CygwinNotes.txt [new file with mode: 0644]
docs/main/HistoricalNotes/2003-06-25-Reoptimizer1.txt [new file with mode: 0644]
docs/main/HistoricalNotes/2003-06-26-Reoptimizer2.txt [new file with mode: 0644]
docs/main/HistoricalNotes/2007-OriginalClangReadme.txt [new file with mode: 0644]
docs/main/HowToReleaseLLVM.html [new file with mode: 0644]
docs/main/HowToSubmitABug.html [new file with mode: 0644]
docs/main/LangRef.html [new file with mode: 0644]
docs/main/Lexicon.html [new file with mode: 0644]
docs/main/LinkTimeOptimization.html [new file with mode: 0644]
docs/main/Makefile [new file with mode: 0644]
docs/main/MakefileGuide.html [new file with mode: 0644]
docs/main/Packaging.html [new file with mode: 0644]
docs/main/Passes.html [new file with mode: 0644]
docs/main/ProgrammersManual.html [new file with mode: 0644]
docs/main/Projects.html [new file with mode: 0644]
docs/main/ReleaseNotes.html [new file with mode: 0644]
docs/main/SourceLevelDebugging.html [new file with mode: 0644]
docs/main/SystemLibrary.html [new file with mode: 0644]
docs/main/TableGenFundamentals.html [new file with mode: 0644]
docs/main/TestingGuide.html [new file with mode: 0644]
docs/main/UsingLibraries.html [new file with mode: 0644]
docs/main/WritingAnLLVMBackend.html [new file with mode: 0644]
docs/main/WritingAnLLVMPass.html [new file with mode: 0644]
docs/main/img/Debugging.gif [new file with mode: 0644]
docs/main/img/libdeps.gif [new file with mode: 0644]
docs/main/img/lines.gif [new file with mode: 0644]
docs/main/img/objdeps.gif [new file with mode: 0644]
docs/main/img/venusflytrap.jpg [new file with mode: 0644]
docs/main/index.html [new file with mode: 0644]
docs/main/llvm.css [new file with mode: 0644]
docs/main/re_format.7 [new file with mode: 0644]
docs/main/tutorial/LangImpl1.html [new file with mode: 0644]
docs/main/tutorial/LangImpl2.html [new file with mode: 0644]
docs/main/tutorial/LangImpl3.html [new file with mode: 0644]
docs/main/tutorial/LangImpl4.html [new file with mode: 0644]
docs/main/tutorial/LangImpl5-cfg.png [new file with mode: 0644]
docs/main/tutorial/LangImpl5.html [new file with mode: 0644]
docs/main/tutorial/LangImpl6.html [new file with mode: 0644]
docs/main/tutorial/LangImpl7.html [new file with mode: 0644]
docs/main/tutorial/LangImpl8.html [new file with mode: 0644]
docs/main/tutorial/OCamlLangImpl1.html [new file with mode: 0644]
docs/main/tutorial/OCamlLangImpl2.html [new file with mode: 0644]
docs/main/tutorial/OCamlLangImpl3.html [new file with mode: 0644]
docs/main/tutorial/OCamlLangImpl4.html [new file with mode: 0644]
docs/main/tutorial/OCamlLangImpl5.html [new file with mode: 0644]
docs/main/tutorial/OCamlLangImpl6.html [new file with mode: 0644]
docs/main/tutorial/OCamlLangImpl7.html [new file with mode: 0644]
docs/main/tutorial/index.html [new file with mode: 0644]
docs/mk/api.mk [new file with mode: 0644]
docs/mk/common.defs.mk [new file with mode: 0644]
docs/mk/common.rules.mk [new file with mode: 0644]
docs/mk/main.mk [new file with mode: 0644]
docs/re_format.7 [deleted file]
docs/tutorial/LangImpl1.html [deleted file]
docs/tutorial/LangImpl2.html [deleted file]
docs/tutorial/LangImpl3.html [deleted file]
docs/tutorial/LangImpl4.html [deleted file]
docs/tutorial/LangImpl5-cfg.png [deleted file]
docs/tutorial/LangImpl5.html [deleted file]
docs/tutorial/LangImpl6.html [deleted file]
docs/tutorial/LangImpl7.html [deleted file]
docs/tutorial/LangImpl8.html [deleted file]
docs/tutorial/Makefile [deleted file]
docs/tutorial/OCamlLangImpl1.html [deleted file]
docs/tutorial/OCamlLangImpl2.html [deleted file]
docs/tutorial/OCamlLangImpl3.html [deleted file]
docs/tutorial/OCamlLangImpl4.html [deleted file]
docs/tutorial/OCamlLangImpl5.html [deleted file]
docs/tutorial/OCamlLangImpl6.html [deleted file]
docs/tutorial/OCamlLangImpl7.html [deleted file]
docs/tutorial/index.html [deleted file]