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

github.com/mono/mono-tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNéstor Salceda <nestor@mono-cvs.ximian.com>2008-02-09 02:38:50 +0300
committerNéstor Salceda <nestor@mono-cvs.ximian.com>2008-02-09 02:38:50 +0300
commit03385e9ff51971e96d58facfcb8c8c8dd94d9140 (patch)
treed733f50ca6c5b4b509564cc87b9046b4f48443b6 /gendarme/Makefile.am
parent68959117f155d6407539c5894ae9ae439d7b34ba (diff)
2008-02-09 Nestor Salceda <nestor.salceda@gmail.com>
* Makefile.am: Added tasks for API documentation generation. One for generating documentation and other for assembling the documentation for distrubution puroposes. svn path=/trunk/mono-tools/; revision=95312
Diffstat (limited to 'gendarme/Makefile.am')
-rw-r--r--gendarme/Makefile.am9
1 files changed, 8 insertions, 1 deletions
diff --git a/gendarme/Makefile.am b/gendarme/Makefile.am
index b70a7774..d77a2866 100644
--- a/gendarme/Makefile.am
+++ b/gendarme/Makefile.am
@@ -2,7 +2,7 @@ SUBDIRS = man framework console rules
bin_SCRIPTS = gendarme
EXTRA_DIST = gendarme.in AssemblyInfo.cs.in MIT.X11 gendarme.mds gendarme.sln
-CLEANFILES = gendarme bin/rules.xml bin/Gendarme.Rules.*.xml
+CLEANFILES = gendarme bin/rules.xml bin/Gendarme.Rules.*.xml
DISTCLEANFILES = \
AssemblyInfo.cs \
@@ -32,6 +32,13 @@ run-test: test
make run-test; \
cd ..;
+doc: all
+ monodocer -assembly:bin/Gendarme.Framework.dll -importslashdoc:framework/Gendarme.Framework.doc.xml -path:doc
+
+assemble-doc: doc
+ mdassembler --ecma doc -o doc/gendarme; \
+ echo -e "<?xml version='1.0'?>\n<monodoc>\n\t<source provider='ecma' basefile='gendarme' path='gendarme'/>\n</monodoc>" > doc/gendarme.source;
+
self-test: all
cp rules/rules.xml bin; \
cd bin; \