Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Pryor <jpryor@novell.com>2008-10-31 06:52:38 +0300
committerJonathan Pryor <jpryor@novell.com>2008-10-31 06:52:38 +0300
commit9530c5256847039bb3af8aa7e5cb10d4ea5f5051 (patch)
tree236290beb84b308f6db840b28de92f7132acbcb9 /docs/Makefile.am
parent2809b0c7ffa6d65c25f22bd6b8012d8c3eb5244d (diff)
parent16a4b4fbc623648764ddde1d41d1ba5df10e1e93 (diff)
* Makefile.am: Build `docs` after `runtime`, so that it can depend
upon mdoc.exe for it's operation. * docs/. (svn:ignore), deploy (svn:ignore): Ignore generated files. * docs/AgilityPack.dll, docs/api-style.css, docs/ChangeLog, docs/check, docs/check-coverage, docs/convert.cs, docs/current-api, docs/deploy, docs/documented, docs/exdoc, docs/ignore, docs/mono-api-metadata.html, docs/monoapi.source, docs/produce-lists, docs/public, docs/public-api, docs/README, docs/sources, docs/toc.xml, docs/TODO, docs/wapi: Copy from ../mono/docscripts. * docs/exdoc: Use the in-tree mono program to run convert.exe. * docs/Makefile.am: Mention files to clean/distribute; extract documentation (with exdoc) and then assemble documentation (with monoapi.make's assemble target) for use by monodoc. * docs/monoapi.make: Added; Makefile to use mcs' buid/rules.make to compile convert.cs and assemble documentation. (This is a separate file so that we can include mcs' build/rules.make, which needs topdir set to behave properly BUT must be $(mcs_topdir) from Makefile.am's perspective.) * docs/monoapi.source: Add a /monodoc/node element for use with monodoc 2.2. svn path=/trunk/mono/; revision=117529
Diffstat (limited to 'docs/Makefile.am')
-rw-r--r--docs/Makefile.am60
1 files changed, 59 insertions, 1 deletions
diff --git a/docs/Makefile.am b/docs/Makefile.am
index c74733ebddf..40796e41168 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -1,14 +1,33 @@
+sourcesdir = $(prefix)/lib/monodoc/sources
+
+sources_DATA = \
+ monoapi.source \
+ $(ASSEMBLED_DOCS)
+
+ASSEMBLED_DOCS = \
+ monoapi.tree monoapi.zip
+
EXTRA_DIST = \
abc-removal.txt \
+ AgilityPack.dll \
aot-compiler.txt \
+ api-style.css \
assembly-bundle \
+ check \
+ check-coverage \
+ convert.cs \
+ current-api \
+ deploy \
+ documented \
embedded-api \
exception-handling.txt \
exceptions \
+ exdoc \
file-share-modes \
gc-issues \
gc-variables-in-c \
glossary.txt \
+ ignore \
internal-calls \
ir-desc \
jit-imt \
@@ -19,17 +38,56 @@ EXTRA_DIST = \
magic.diff \
mini-doc.txt \
mini-porting.txt \
+ mono-api-metadata.html \
mono_handle_d \
+ monoapi.make \
+ monoapi.source \
new-regalloc \
object-layout \
opcode-decomp.txt \
precise-gc \
+ produce-lists \
+ public \
+ public-api \
+ README \
release-notes-1.0.html \
remoting \
ssapre.txt \
stack-alignment \
stack-overflow.txt \
- threading \
thread-safety.txt \
+ threading \
+ toc.xml \
+ TODO \
tree-mover.txt \
unmanaged-calls
+
+dist-hook:
+ $(mkdir_p) $(distdir)/sources
+ $(mkdir_p) $(distdir)/svgs
+ cp sources/* $(distdir)/sources
+ cp svgs/* $(distdir)/svgs
+
+CLEANFILES = \
+ convert.exe* \
+ deploy/.stamp \
+ $(wildcard deploy/*) \
+ $(ASSEMBLED_DOCS)
+
+clean-local:
+ -rm -Rf html
+
+monoapi.tree monoapi.zip: monoapi.make Makefile.am toc.xml deploy/.stamp
+ cp api-style.css deploy
+ $(MAKE) -f $< topdir=$(mcs_topdir) assemble
+
+deploy/.stamp: convert.exe Makefile.am
+ $(mkdir_p) html
+ perl exdoc -h . ../mono/*/*.c
+ touch $@
+
+extract : deply/.stamp
+
+convert.exe: monoapi.make convert.cs Makefile.am
+ $(MAKE) -f $< topdir=$(mcs_topdir) convert.exe
+