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

github.com/mono/mono-addins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Pryor <jpryor@novell.com>2009-03-30 22:13:17 +0400
committerJonathan Pryor <jpryor@novell.com>2009-03-30 22:13:17 +0400
commit518c1dfe3ef87a0f47596fdb8da6fcd493d2c820 (patch)
tree3e81a3d70483c487ebb7ffe1e0a48c6eab885ef6 /Makefile.am
parent2987c0a8f709d79ca098362bb0f9ba63c49dcba9 (diff)
* . (svn:ignore): Ignore generated files (mono-addins-docs{.tree,.zip}).
* docs/**/*: Flush (output of doc-update). * Makefile.am: Add doc-update, doc-assemble, install-docs, uninstall-docs, clean-docs targets. * mono-addins-docs.source: Monodoc .source file which specifies where in the tree the Mono.Addins documentation should be inserted. svn path=/trunk/mono-addins/; revision=130565
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am34
1 files changed, 30 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index a1ed8f3..31fc3c8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,8 +6,34 @@ DOCFILES = \
$(top_builddir)/bin/Mono.Addins.Setup.dll \
$(top_builddir)/bin/Mono.Addins.Gui.dll
-apidocs:
- mkdir -p docs
- monodocer --delete --pretty $(DOCFILES:%=--assembly:%) --path docs
+DOC_ASSEMBLED_FILES = \
+ mono-addins-docs.tree \
+ mono-addins-docs.zip
-EXTRA_DIST = COPYING mono-addins.snk
+apidocs: doc-update
+
+doc-update:
+ mdoc update --delete $(MDOC_OPTIONS) -o docs $(DOCFILES)
+
+doc-assemble: mono-addins-docs.zip
+
+mono-addins-docs.zip : mono-addins-docs.tree
+mono-addins-docs.tree:
+ mdoc assemble -o mono-addins-docs docs
+
+install: install-docs
+
+install-docs: mono-addins-docs.source $(DOC_ASSEMBLED_FILES)
+ cp $^ `pkg-config monodoc --variable sourcesdir`
+
+uninstall: uninstall-docs
+
+uninstall-docs:
+ -rm `pkg-config monodoc --variable sourcesdir`/mono-addins-docs{.source,.tree,.zip}
+
+clean: clean-docs
+
+clean-docs:
+ -rm $(DOC_ASSEMBLED_FILES)
+
+EXTRA_DIST = COPYING mono-addins.snk mono-addins-docs.source