diff options
author | Néstor Salceda <nestor@mono-cvs.ximian.com> | 2008-02-09 02:38:50 +0300 |
---|---|---|
committer | Néstor Salceda <nestor@mono-cvs.ximian.com> | 2008-02-09 02:38:50 +0300 |
commit | 03385e9ff51971e96d58facfcb8c8c8dd94d9140 (patch) | |
tree | d733f50ca6c5b4b509564cc87b9046b4f48443b6 /gendarme/Makefile.am | |
parent | 68959117f155d6407539c5894ae9ae439d7b34ba (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.am | 9 |
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; \ |