[llvm-commits] [llvm] r103219 - in /llvm/trunk/docs: ./ CommandGuide/ CommandGuide/html/ CommandGuide/man/ CommandGuide/man/man1/ CommandGuide/ps/ HistoricalNotes/ api/ img/ main/ mk/ tutorial/
mike-m
mikem.llvm at gmail.com
Thu May 6 17:28:05 PDT 2010
Author: mikem
Date: Thu May 6 19:28:04 2010
New Revision: 103219
URL: http://llvm.org/viewvc/llvm-project?rev=103219&view=rev
Log:
Revert r103213. It broke several sections of live website.
Added:
llvm/trunk/docs/AliasAnalysis.html
- copied unchanged from r103212, llvm/trunk/docs/AliasAnalysis.html
llvm/trunk/docs/BitCodeFormat.html
- copied unchanged from r103212, llvm/trunk/docs/BitCodeFormat.html
llvm/trunk/docs/Bugpoint.html
- copied unchanged from r103212, llvm/trunk/docs/Bugpoint.html
llvm/trunk/docs/CFEBuildInstrs.html
- copied unchanged from r103212, llvm/trunk/docs/CFEBuildInstrs.html
llvm/trunk/docs/CMake.html
- copied unchanged from r103212, llvm/trunk/docs/CMake.html
llvm/trunk/docs/CodeGenerator.html
- copied unchanged from r103212, llvm/trunk/docs/CodeGenerator.html
llvm/trunk/docs/CodingStandards.html
- copied unchanged from r103212, llvm/trunk/docs/CodingStandards.html
llvm/trunk/docs/CommandGuide/ (props changed)
- copied from r103212, llvm/trunk/docs/CommandGuide/
llvm/trunk/docs/CommandGuide/FileCheck.pod
- copied unchanged from r103212, llvm/trunk/docs/CommandGuide/FileCheck.pod
llvm/trunk/docs/CommandGuide/Makefile
- copied unchanged from r103212, llvm/trunk/docs/CommandGuide/Makefile
llvm/trunk/docs/CommandGuide/bugpoint.pod
- copied unchanged from r103212, llvm/trunk/docs/CommandGuide/bugpoint.pod
llvm/trunk/docs/CommandGuide/html/ (props changed)
- copied from r103212, llvm/trunk/docs/CommandGuide/html/
llvm/trunk/docs/CommandGuide/html/manpage.css
- copied unchanged from r103212, llvm/trunk/docs/CommandGuide/html/manpage.css
llvm/trunk/docs/CommandGuide/index.html
- copied unchanged from r103212, llvm/trunk/docs/CommandGuide/index.html
llvm/trunk/docs/CommandGuide/lit.pod
- copied unchanged from r103212, llvm/trunk/docs/CommandGuide/lit.pod
llvm/trunk/docs/CommandGuide/llc.pod
- copied unchanged from r103212, llvm/trunk/docs/CommandGuide/llc.pod
llvm/trunk/docs/CommandGuide/lli.pod
- copied unchanged from r103212, llvm/trunk/docs/CommandGuide/lli.pod
llvm/trunk/docs/CommandGuide/llvm-ar.pod
- copied unchanged from r103212, llvm/trunk/docs/CommandGuide/llvm-ar.pod
llvm/trunk/docs/CommandGuide/llvm-as.pod
- copied unchanged from r103212, llvm/trunk/docs/CommandGuide/llvm-as.pod
llvm/trunk/docs/CommandGuide/llvm-bcanalyzer.pod
- copied unchanged from r103212, llvm/trunk/docs/CommandGuide/llvm-bcanalyzer.pod
llvm/trunk/docs/CommandGuide/llvm-config.pod
- copied unchanged from r103212, llvm/trunk/docs/CommandGuide/llvm-config.pod
llvm/trunk/docs/CommandGuide/llvm-dis.pod
- copied unchanged from r103212, llvm/trunk/docs/CommandGuide/llvm-dis.pod
llvm/trunk/docs/CommandGuide/llvm-extract.pod
- copied unchanged from r103212, llvm/trunk/docs/CommandGuide/llvm-extract.pod
llvm/trunk/docs/CommandGuide/llvm-ld.pod
- copied unchanged from r103212, llvm/trunk/docs/CommandGuide/llvm-ld.pod
llvm/trunk/docs/CommandGuide/llvm-link.pod
- copied unchanged from r103212, llvm/trunk/docs/CommandGuide/llvm-link.pod
llvm/trunk/docs/CommandGuide/llvm-nm.pod
- copied unchanged from r103212, llvm/trunk/docs/CommandGuide/llvm-nm.pod
llvm/trunk/docs/CommandGuide/llvm-prof.pod
- copied unchanged from r103212, llvm/trunk/docs/CommandGuide/llvm-prof.pod
llvm/trunk/docs/CommandGuide/llvm-ranlib.pod
- copied unchanged from r103212, llvm/trunk/docs/CommandGuide/llvm-ranlib.pod
llvm/trunk/docs/CommandGuide/llvmc.pod
- copied unchanged from r103212, llvm/trunk/docs/CommandGuide/llvmc.pod
llvm/trunk/docs/CommandGuide/llvmgcc.pod
- copied unchanged from r103212, llvm/trunk/docs/CommandGuide/llvmgcc.pod
llvm/trunk/docs/CommandGuide/llvmgxx.pod
- copied unchanged from r103212, llvm/trunk/docs/CommandGuide/llvmgxx.pod
llvm/trunk/docs/CommandGuide/man/ (props changed)
- copied from r103212, llvm/trunk/docs/CommandGuide/man/
llvm/trunk/docs/CommandGuide/man/man1/ (props changed)
- copied from r103212, llvm/trunk/docs/CommandGuide/man/man1/
llvm/trunk/docs/CommandGuide/manpage.css
- copied unchanged from r103212, llvm/trunk/docs/CommandGuide/manpage.css
llvm/trunk/docs/CommandGuide/opt.pod
- copied unchanged from r103212, llvm/trunk/docs/CommandGuide/opt.pod
llvm/trunk/docs/CommandGuide/ps/ (props changed)
- copied from r103212, llvm/trunk/docs/CommandGuide/ps/
llvm/trunk/docs/CommandGuide/tblgen.pod
- copied unchanged from r103212, llvm/trunk/docs/CommandGuide/tblgen.pod
llvm/trunk/docs/CommandLine.html
- copied unchanged from r103212, llvm/trunk/docs/CommandLine.html
llvm/trunk/docs/CompilerDriver.html
- copied unchanged from r103212, llvm/trunk/docs/CompilerDriver.html
llvm/trunk/docs/CompilerDriverTutorial.html
- copied unchanged from r103212, llvm/trunk/docs/CompilerDriverTutorial.html
llvm/trunk/docs/CompilerWriterInfo.html
- copied unchanged from r103212, llvm/trunk/docs/CompilerWriterInfo.html
llvm/trunk/docs/DebuggingJITedCode.html
- copied unchanged from r103212, llvm/trunk/docs/DebuggingJITedCode.html
llvm/trunk/docs/DeveloperPolicy.html
- copied unchanged from r103212, llvm/trunk/docs/DeveloperPolicy.html
llvm/trunk/docs/ExceptionHandling.html
- copied unchanged from r103212, llvm/trunk/docs/ExceptionHandling.html
llvm/trunk/docs/ExtendedIntegerResults.txt
- copied unchanged from r103212, llvm/trunk/docs/ExtendedIntegerResults.txt
llvm/trunk/docs/ExtendingLLVM.html
- copied unchanged from r103212, llvm/trunk/docs/ExtendingLLVM.html
llvm/trunk/docs/FAQ.html
- copied unchanged from r103212, llvm/trunk/docs/FAQ.html
llvm/trunk/docs/GCCFEBuildInstrs.html
- copied unchanged from r103212, llvm/trunk/docs/GCCFEBuildInstrs.html
llvm/trunk/docs/GarbageCollection.html
- copied unchanged from r103212, llvm/trunk/docs/GarbageCollection.html
llvm/trunk/docs/GetElementPtr.html
- copied unchanged from r103212, llvm/trunk/docs/GetElementPtr.html
llvm/trunk/docs/GettingStarted.html
- copied unchanged from r103212, llvm/trunk/docs/GettingStarted.html
llvm/trunk/docs/GettingStartedVS.html
- copied unchanged from r103212, llvm/trunk/docs/GettingStartedVS.html
llvm/trunk/docs/GoldPlugin.html
- copied unchanged from r103212, llvm/trunk/docs/GoldPlugin.html
llvm/trunk/docs/HistoricalNotes/
- copied from r103212, llvm/trunk/docs/HistoricalNotes/
llvm/trunk/docs/HistoricalNotes/2000-11-18-EarlyDesignIdeas.txt
- copied unchanged from r103212, llvm/trunk/docs/HistoricalNotes/2000-11-18-EarlyDesignIdeas.txt
llvm/trunk/docs/HistoricalNotes/2000-11-18-EarlyDesignIdeasResp.txt
- copied unchanged from r103212, llvm/trunk/docs/HistoricalNotes/2000-11-18-EarlyDesignIdeasResp.txt
llvm/trunk/docs/HistoricalNotes/2000-12-06-EncodingIdea.txt
- copied unchanged from r103212, llvm/trunk/docs/HistoricalNotes/2000-12-06-EncodingIdea.txt
llvm/trunk/docs/HistoricalNotes/2000-12-06-MeetingSummary.txt
- copied unchanged from r103212, llvm/trunk/docs/HistoricalNotes/2000-12-06-MeetingSummary.txt
llvm/trunk/docs/HistoricalNotes/2001-01-31-UniversalIRIdea.txt
- copied unchanged from r103212, llvm/trunk/docs/HistoricalNotes/2001-01-31-UniversalIRIdea.txt
llvm/trunk/docs/HistoricalNotes/2001-02-06-TypeNotationDebate.txt
- copied unchanged from r103212, llvm/trunk/docs/HistoricalNotes/2001-02-06-TypeNotationDebate.txt
llvm/trunk/docs/HistoricalNotes/2001-02-06-TypeNotationDebateResp1.txt
- copied unchanged from r103212, llvm/trunk/docs/HistoricalNotes/2001-02-06-TypeNotationDebateResp1.txt
llvm/trunk/docs/HistoricalNotes/2001-02-06-TypeNotationDebateResp2.txt
- copied unchanged from r103212, llvm/trunk/docs/HistoricalNotes/2001-02-06-TypeNotationDebateResp2.txt
llvm/trunk/docs/HistoricalNotes/2001-02-06-TypeNotationDebateResp4.txt
- copied unchanged from r103212, llvm/trunk/docs/HistoricalNotes/2001-02-06-TypeNotationDebateResp4.txt
llvm/trunk/docs/HistoricalNotes/2001-02-09-AdveComments.txt
- copied unchanged from r103212, llvm/trunk/docs/HistoricalNotes/2001-02-09-AdveComments.txt
llvm/trunk/docs/HistoricalNotes/2001-02-09-AdveCommentsResponse.txt
- copied unchanged from r103212, llvm/trunk/docs/HistoricalNotes/2001-02-09-AdveCommentsResponse.txt
llvm/trunk/docs/HistoricalNotes/2001-02-13-Reference-Memory.txt
- copied unchanged from r103212, llvm/trunk/docs/HistoricalNotes/2001-02-13-Reference-Memory.txt
llvm/trunk/docs/HistoricalNotes/2001-02-13-Reference-MemoryResponse.txt
- copied unchanged from r103212, llvm/trunk/docs/HistoricalNotes/2001-02-13-Reference-MemoryResponse.txt
llvm/trunk/docs/HistoricalNotes/2001-04-16-DynamicCompilation.txt
- copied unchanged from r103212, llvm/trunk/docs/HistoricalNotes/2001-04-16-DynamicCompilation.txt
llvm/trunk/docs/HistoricalNotes/2001-05-18-ExceptionHandling.txt
- copied unchanged from r103212, llvm/trunk/docs/HistoricalNotes/2001-05-18-ExceptionHandling.txt
llvm/trunk/docs/HistoricalNotes/2001-05-19-ExceptionResponse.txt
- copied unchanged from r103212, llvm/trunk/docs/HistoricalNotes/2001-05-19-ExceptionResponse.txt
llvm/trunk/docs/HistoricalNotes/2001-06-01-GCCOptimizations.txt
- copied unchanged from r103212, llvm/trunk/docs/HistoricalNotes/2001-06-01-GCCOptimizations.txt
llvm/trunk/docs/HistoricalNotes/2001-06-01-GCCOptimizations2.txt
- copied unchanged from r103212, llvm/trunk/docs/HistoricalNotes/2001-06-01-GCCOptimizations2.txt
llvm/trunk/docs/HistoricalNotes/2001-06-20-.NET-Differences.txt
- copied unchanged from r103212, llvm/trunk/docs/HistoricalNotes/2001-06-20-.NET-Differences.txt
llvm/trunk/docs/HistoricalNotes/2001-07-06-LoweringIRForCodeGen.txt
- copied unchanged from r103212, llvm/trunk/docs/HistoricalNotes/2001-07-06-LoweringIRForCodeGen.txt
llvm/trunk/docs/HistoricalNotes/2001-09-18-OptimizeExceptions.txt
- copied unchanged from r103212, llvm/trunk/docs/HistoricalNotes/2001-09-18-OptimizeExceptions.txt
llvm/trunk/docs/HistoricalNotes/2002-05-12-InstListChange.txt
- copied unchanged from r103212, llvm/trunk/docs/HistoricalNotes/2002-05-12-InstListChange.txt
llvm/trunk/docs/HistoricalNotes/2002-06-25-MegaPatchInfo.txt
- copied unchanged from r103212, llvm/trunk/docs/HistoricalNotes/2002-06-25-MegaPatchInfo.txt
llvm/trunk/docs/HistoricalNotes/2003-01-23-CygwinNotes.txt
- copied unchanged from r103212, llvm/trunk/docs/HistoricalNotes/2003-01-23-CygwinNotes.txt
llvm/trunk/docs/HistoricalNotes/2003-06-25-Reoptimizer1.txt
- copied unchanged from r103212, llvm/trunk/docs/HistoricalNotes/2003-06-25-Reoptimizer1.txt
llvm/trunk/docs/HistoricalNotes/2003-06-26-Reoptimizer2.txt
- copied unchanged from r103212, llvm/trunk/docs/HistoricalNotes/2003-06-26-Reoptimizer2.txt
llvm/trunk/docs/HistoricalNotes/2007-OriginalClangReadme.txt
- copied unchanged from r103212, llvm/trunk/docs/HistoricalNotes/2007-OriginalClangReadme.txt
llvm/trunk/docs/HowToReleaseLLVM.html
- copied unchanged from r103212, llvm/trunk/docs/HowToReleaseLLVM.html
llvm/trunk/docs/HowToSubmitABug.html
- copied unchanged from r103212, llvm/trunk/docs/HowToSubmitABug.html
llvm/trunk/docs/LangRef.html
- copied unchanged from r103212, llvm/trunk/docs/LangRef.html
llvm/trunk/docs/Lexicon.html
- copied unchanged from r103212, llvm/trunk/docs/Lexicon.html
llvm/trunk/docs/LinkTimeOptimization.html
- copied unchanged from r103212, llvm/trunk/docs/LinkTimeOptimization.html
llvm/trunk/docs/MakefileGuide.html
- copied unchanged from r103212, llvm/trunk/docs/MakefileGuide.html
llvm/trunk/docs/Packaging.html
- copied unchanged from r103212, llvm/trunk/docs/Packaging.html
llvm/trunk/docs/Passes.html
- copied unchanged from r103212, llvm/trunk/docs/Passes.html
llvm/trunk/docs/ProgrammersManual.html
- copied unchanged from r103212, llvm/trunk/docs/ProgrammersManual.html
llvm/trunk/docs/Projects.html
- copied unchanged from r103212, llvm/trunk/docs/Projects.html
llvm/trunk/docs/ReleaseNotes.html
- copied unchanged from r103212, llvm/trunk/docs/ReleaseNotes.html
llvm/trunk/docs/SourceLevelDebugging.html
- copied unchanged from r103212, llvm/trunk/docs/SourceLevelDebugging.html
llvm/trunk/docs/SystemLibrary.html
- copied unchanged from r103212, llvm/trunk/docs/SystemLibrary.html
llvm/trunk/docs/TableGenFundamentals.html
- copied unchanged from r103212, llvm/trunk/docs/TableGenFundamentals.html
llvm/trunk/docs/TestingGuide.html
- copied unchanged from r103212, llvm/trunk/docs/TestingGuide.html
llvm/trunk/docs/UsingLibraries.html
- copied unchanged from r103212, llvm/trunk/docs/UsingLibraries.html
llvm/trunk/docs/WritingAnLLVMBackend.html
- copied unchanged from r103212, llvm/trunk/docs/WritingAnLLVMBackend.html
llvm/trunk/docs/WritingAnLLVMPass.html
- copied unchanged from r103212, llvm/trunk/docs/WritingAnLLVMPass.html
llvm/trunk/docs/doxygen.cfg.in
- copied unchanged from r103212, llvm/trunk/docs/doxygen.cfg.in
llvm/trunk/docs/doxygen.css
- copied unchanged from r103212, llvm/trunk/docs/doxygen.css
llvm/trunk/docs/doxygen.footer
- copied unchanged from r103212, llvm/trunk/docs/doxygen.footer
llvm/trunk/docs/doxygen.header
- copied unchanged from r103212, llvm/trunk/docs/doxygen.header
llvm/trunk/docs/doxygen.intro
- copied unchanged from r103212, llvm/trunk/docs/doxygen.intro
llvm/trunk/docs/img/
- copied from r103212, llvm/trunk/docs/img/
llvm/trunk/docs/img/Debugging.gif
- copied unchanged from r103212, llvm/trunk/docs/img/Debugging.gif
llvm/trunk/docs/img/libdeps.gif
- copied unchanged from r103212, llvm/trunk/docs/img/libdeps.gif
llvm/trunk/docs/img/lines.gif
- copied unchanged from r103212, llvm/trunk/docs/img/lines.gif
llvm/trunk/docs/img/objdeps.gif
- copied unchanged from r103212, llvm/trunk/docs/img/objdeps.gif
llvm/trunk/docs/img/venusflytrap.jpg
- copied unchanged from r103212, llvm/trunk/docs/img/venusflytrap.jpg
llvm/trunk/docs/index.html
- copied unchanged from r103212, llvm/trunk/docs/index.html
llvm/trunk/docs/llvm.css
- copied unchanged from r103212, llvm/trunk/docs/llvm.css
llvm/trunk/docs/re_format.7
- copied unchanged from r103212, llvm/trunk/docs/re_format.7
llvm/trunk/docs/tutorial/
- copied from r103212, llvm/trunk/docs/tutorial/
llvm/trunk/docs/tutorial/LangImpl1.html
- copied unchanged from r103212, llvm/trunk/docs/tutorial/LangImpl1.html
llvm/trunk/docs/tutorial/LangImpl2.html
- copied unchanged from r103212, llvm/trunk/docs/tutorial/LangImpl2.html
llvm/trunk/docs/tutorial/LangImpl3.html
- copied unchanged from r103212, llvm/trunk/docs/tutorial/LangImpl3.html
llvm/trunk/docs/tutorial/LangImpl4.html
- copied unchanged from r103212, llvm/trunk/docs/tutorial/LangImpl4.html
llvm/trunk/docs/tutorial/LangImpl5-cfg.png
- copied unchanged from r103212, llvm/trunk/docs/tutorial/LangImpl5-cfg.png
llvm/trunk/docs/tutorial/LangImpl5.html
- copied unchanged from r103212, llvm/trunk/docs/tutorial/LangImpl5.html
llvm/trunk/docs/tutorial/LangImpl6.html
- copied unchanged from r103212, llvm/trunk/docs/tutorial/LangImpl6.html
llvm/trunk/docs/tutorial/LangImpl7.html
- copied unchanged from r103212, llvm/trunk/docs/tutorial/LangImpl7.html
llvm/trunk/docs/tutorial/LangImpl8.html
- copied unchanged from r103212, llvm/trunk/docs/tutorial/LangImpl8.html
llvm/trunk/docs/tutorial/Makefile
- copied unchanged from r103212, llvm/trunk/docs/tutorial/Makefile
llvm/trunk/docs/tutorial/OCamlLangImpl1.html
- copied unchanged from r103212, llvm/trunk/docs/tutorial/OCamlLangImpl1.html
llvm/trunk/docs/tutorial/OCamlLangImpl2.html
- copied unchanged from r103212, llvm/trunk/docs/tutorial/OCamlLangImpl2.html
llvm/trunk/docs/tutorial/OCamlLangImpl3.html
- copied unchanged from r103212, llvm/trunk/docs/tutorial/OCamlLangImpl3.html
llvm/trunk/docs/tutorial/OCamlLangImpl4.html
- copied unchanged from r103212, llvm/trunk/docs/tutorial/OCamlLangImpl4.html
llvm/trunk/docs/tutorial/OCamlLangImpl5.html
- copied unchanged from r103212, llvm/trunk/docs/tutorial/OCamlLangImpl5.html
llvm/trunk/docs/tutorial/OCamlLangImpl6.html
- copied unchanged from r103212, llvm/trunk/docs/tutorial/OCamlLangImpl6.html
llvm/trunk/docs/tutorial/OCamlLangImpl7.html
- copied unchanged from r103212, llvm/trunk/docs/tutorial/OCamlLangImpl7.html
llvm/trunk/docs/tutorial/index.html
- copied unchanged from r103212, llvm/trunk/docs/tutorial/index.html
Removed:
llvm/trunk/docs/api/
llvm/trunk/docs/main/
llvm/trunk/docs/mk/
Modified:
llvm/trunk/docs/Makefile
Propchange: llvm/trunk/docs/CommandGuide/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Thu May 6 19:28:04 2010
@@ -0,0 +1,4 @@
+pod2htm?.tmp
+*.html
+*.1
+*.ps
Propchange: llvm/trunk/docs/CommandGuide/html/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Thu May 6 19:28:04 2010
@@ -0,0 +1,2 @@
+*html
+.dir
Propchange: llvm/trunk/docs/CommandGuide/man/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Thu May 6 19:28:04 2010
@@ -0,0 +1 @@
+.dir
Propchange: llvm/trunk/docs/CommandGuide/man/man1/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Thu May 6 19:28:04 2010
@@ -0,0 +1,2 @@
+*.1
+.dir
Propchange: llvm/trunk/docs/CommandGuide/ps/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Thu May 6 19:28:04 2010
@@ -0,0 +1,2 @@
+*ps
+.dir
Modified: llvm/trunk/docs/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/Makefile?rev=103219&r1=103218&r2=103219&view=diff
==============================================================================
--- llvm/trunk/docs/Makefile (original)
+++ llvm/trunk/docs/Makefile Thu May 6 19:28:04 2010
@@ -7,7 +7,117 @@
#
##===----------------------------------------------------------------------===##
-LEVEL = ..
-DIRS = main api
+LEVEL := ..
+DIRS := CommandGuide tutorial
+
+ifdef BUILD_FOR_WEBSITE
+PROJ_OBJ_DIR = .
+DOXYGEN = doxygen
+
+$(PROJ_OBJ_DIR)/doxygen.cfg: doxygen.cfg.in
+ cat $< | sed \
+ -e 's/@abs_top_srcdir@/../g' \
+ -e 's/@DOT@/dot/g' \
+ -e 's/@PACKAGE_VERSION@/mainline/' \
+ -e 's/@abs_top_builddir@/../g' > $@
+endif
include $(LEVEL)/Makefile.common
+
+HTML := $(wildcard $(PROJ_SRC_DIR)/*.html) \
+ $(wildcard $(PROJ_SRC_DIR)/*.css)
+IMAGES := $(wildcard $(PROJ_SRC_DIR)/img/*.*)
+DOXYFILES := doxygen.cfg.in doxygen.css doxygen.footer doxygen.header \
+ doxygen.intro
+EXTRA_DIST := $(HTML) $(DOXYFILES) llvm.css CommandGuide img
+
+.PHONY: install-html install-doxygen doxygen install-ocamldoc ocamldoc generated
+
+install_targets := install-html
+ifeq ($(ENABLE_DOXYGEN),1)
+install_targets += install-doxygen
+endif
+ifneq (,$(filter ocaml,$(BINDINGS_TO_BUILD)))
+install_targets += install-ocamldoc
+endif
+install-local:: $(install_targets)
+
+# Live documentation is generated for the web site using this target:
+# 'make generated BUILD_FOR_WEBSITE=1'
+generated:: doxygen ocamldoc
+
+install-html: $(PROJ_OBJ_DIR)/html.tar.gz
+ $(Echo) Installing HTML documentation
+ $(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/html
+ $(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/html/img
+ $(Verb) $(DataInstall) $(HTML) $(DESTDIR)$(PROJ_docsdir)/html
+ $(Verb) $(DataInstall) $(IMAGES) $(DESTDIR)$(PROJ_docsdir)/html/img
+ $(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/html.tar.gz $(DESTDIR)$(PROJ_docsdir)
+
+$(PROJ_OBJ_DIR)/html.tar.gz: $(HTML)
+ $(Echo) Packaging HTML documentation
+ $(Verb) $(RM) -rf $@ $(PROJ_OBJ_DIR)/html.tar
+ $(Verb) cd $(PROJ_SRC_DIR) && \
+ $(TAR) cf $(PROJ_OBJ_DIR)/html.tar *.html
+ $(Verb) $(GZIP) $(PROJ_OBJ_DIR)/html.tar
+
+install-doxygen: doxygen
+ $(Echo) Installing doxygen documentation
+ $(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/html/doxygen
+ $(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/doxygen.tar.gz $(DESTDIR)$(PROJ_docsdir)
+ $(Verb) cd $(PROJ_OBJ_DIR)/doxygen && \
+ $(FIND) . -type f -exec \
+ $(DataInstall) {} $(DESTDIR)$(PROJ_docsdir)/html/doxygen \;
+
+doxygen: regendoc $(PROJ_OBJ_DIR)/doxygen.tar.gz
+
+regendoc:
+ $(Echo) Building doxygen documentation
+ $(Verb) if test -e $(PROJ_OBJ_DIR)/doxygen ; then \
+ $(RM) -rf $(PROJ_OBJ_DIR)/doxygen ; \
+ fi
+ $(Verb) $(DOXYGEN) $(PROJ_OBJ_DIR)/doxygen.cfg
+
+$(PROJ_OBJ_DIR)/doxygen.tar.gz: $(DOXYFILES) $(PROJ_OBJ_DIR)/doxygen.cfg
+ $(Echo) Packaging doxygen documentation
+ $(Verb) $(RM) -rf $@ $(PROJ_OBJ_DIR)/doxygen.tar
+ $(Verb) $(TAR) cf $(PROJ_OBJ_DIR)/doxygen.tar doxygen
+ $(Verb) $(GZIP) $(PROJ_OBJ_DIR)/doxygen.tar
+ $(Verb) $(CP) $(PROJ_OBJ_DIR)/doxygen.tar.gz $(PROJ_OBJ_DIR)/doxygen/html/
+
+userloc: $(LLVM_SRC_ROOT)/docs/userloc.html
+
+$(LLVM_SRC_ROOT)/docs/userloc.html:
+ $(Echo) Making User LOC Table
+ $(Verb) cd $(LLVM_SRC_ROOT) ; ./utils/userloc.pl -details -recurse \
+ -html lib include tools runtime utils examples autoconf test > docs/userloc.html
+
+install-ocamldoc: ocamldoc
+ $(Echo) Installing ocamldoc documentation
+ $(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/ocamldoc/html
+ $(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/ocamldoc.tar.gz $(DESTDIR)$(PROJ_docsdir)
+ $(Verb) cd $(PROJ_OBJ_DIR)/ocamldoc && \
+ $(FIND) . -type f -exec \
+ $(DataInstall) {} $(DESTDIR)$(PROJ_docsdir)/ocamldoc/html \;
+
+ocamldoc: regen-ocamldoc
+ $(Echo) Packaging ocamldoc documentation
+ $(Verb) $(RM) -rf $(PROJ_OBJ_DIR)/ocamldoc.tar*
+ $(Verb) $(TAR) cf $(PROJ_OBJ_DIR)/ocamldoc.tar ocamldoc
+ $(Verb) $(GZIP) $(PROJ_OBJ_DIR)/ocamldoc.tar
+ $(Verb) $(CP) $(PROJ_OBJ_DIR)/ocamldoc.tar.gz $(PROJ_OBJ_DIR)/ocamldoc/html/
+
+regen-ocamldoc:
+ $(Echo) Building ocamldoc documentation
+ $(Verb) if test -e $(PROJ_OBJ_DIR)/ocamldoc ; then \
+ $(RM) -rf $(PROJ_OBJ_DIR)/ocamldoc ; \
+ fi
+ $(Verb) $(MAKE) -C $(LEVEL)/bindings/ocaml ocamldoc
+ $(Verb) $(MKDIR) $(PROJ_OBJ_DIR)/ocamldoc/html
+ $(Verb) \
+ $(OCAMLDOC) -d $(PROJ_OBJ_DIR)/ocamldoc/html -sort -colorize-code -html \
+ `$(FIND) $(LEVEL)/bindings/ocaml -name "*.odoc" -exec echo -load '{}' ';'`
+
+uninstall-local::
+ $(Echo) Uninstalling Documentation
+ $(Verb) $(RM) -rf $(DESTDIR)$(PROJ_docsdir)
More information about the llvm-commits
mailing list