Author: nestor
Date: 2008-02-08 18:38:50 -0500 (Fri, 08 Feb 2008)
New Revision: 95312

Modified:
   trunk/mono-tools/gendarme/ChangeLog
   trunk/mono-tools/gendarme/Makefile.am
Log:
2008-02-09  Nestor Salceda  <[EMAIL PROTECTED]>
        
        * Makefile.am: Added tasks for API documentation generation. One for
        generating documentation and other for assembling the documentation for
        distrubution puroposes.



Modified: trunk/mono-tools/gendarme/ChangeLog
===================================================================
--- trunk/mono-tools/gendarme/ChangeLog 2008-02-08 23:36:19 UTC (rev 95311)
+++ trunk/mono-tools/gendarme/ChangeLog 2008-02-08 23:38:50 UTC (rev 95312)
@@ -1,3 +1,9 @@
+2008-02-09  Nestor Salceda  <[EMAIL PROTECTED]>
+       
+       * Makefile.am: Added tasks for API documentation generation.  One for
+       generating documentation and other for assembling the documentation for
+       distrubution puroposes.
+
 2008-02-06  Sebastien Pouliot  <[EMAIL PROTECTED]>
 
        * AUTHORS: Welcome new Gendarme hackers: Seo Sanghyeon and

Modified: trunk/mono-tools/gendarme/Makefile.am
===================================================================
--- trunk/mono-tools/gendarme/Makefile.am       2008-02-08 23:36:19 UTC (rev 
95311)
+++ trunk/mono-tools/gendarme/Makefile.am       2008-02-08 23:38:50 UTC (rev 
95312)
@@ -2,7 +2,7 @@
 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 @@
        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; \

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to