Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
* framework/Makefile.am ($(framework_doc_source)): Change the .source
Browse files Browse the repository at this point in the history
	  file contents so that framework docs are placed under the 
	  'Gendarme Framework' node.
	* rules/common.make ($(rules_doc_source)): Change the .source file 
	  contents so that rules are placed under the 
	  'Commands and Files/Gendarme' node.
	* man (svn:ignore): Ignore generated files.
	* man/gendarme.source: Added; Adds the gendarme man page under monodoc's
	  'Commands and Files/Gendarme' node.
	* man/gendarme.config: Added; mdoc-assemble config file to generate
	  gendarme.tree, gendarme.zip (containing gendarme.1).
	* man/Makefile.am: Build and install man pages for monodoc.

svn path=/branches/mono-2-4/mono-tools/; revision=124748
  • Loading branch information
Jonathan Pryor committed Jan 28, 2009
1 parent 02ec6e0 commit e20aa44
Show file tree
Hide file tree
Showing 8 changed files with 45 additions and 3 deletions.
6 changes: 6 additions & 0 deletions gendarme/framework/ChangeLog
@@ -1,3 +1,9 @@
2009-01-27 Jonathan Pryor <jpryor@novell.com>

* Makefile.am ($(framework_doc_source)): Change the .source file
contents so that framework docs are placed under the
'Gendarme Framework' node.

2008-11-28 Sebastien Pouliot <sebastien@ximian.com>

* Makefile.am: Use -noshadow on nunit-console2 so the "new" 2.4,
Expand Down
2 changes: 1 addition & 1 deletion gendarme/framework/Makefile.am
Expand Up @@ -119,7 +119,7 @@ $(framework_doc_zip): $(generated_doc)
$(framework_doc_tree): $(generated_doc)

$(framework_doc_source):
echo -e "<?xml version='1.0'?>\n<monodoc>\n\t<source provider='ecma' basefile='Gendarme.Framework' path='classlib-Gendarme.Framework'/>\n</monodoc>" > $(framework_doc_source)
echo -e "<?xml version='1.0'?>\n<monodoc>\n\t<node label='Gendarme Framework' name='classlib-Gendarme.Framework' parent='libraries' />\n\t<source provider='ecma' basefile='Gendarme.Framework' path='classlib-Gendarme.Framework'/>\n</monodoc>" > $(framework_doc_source)

clean-local:
rm -fr doc/
9 changes: 9 additions & 0 deletions gendarme/man/ChangeLog
@@ -1,3 +1,12 @@
2009-01-27 Jonathan Pryor <jpryor@novell.com>

* . (svn:ignore): Ignore generated files.
* gendarme.source: Added; Adds the gendarme man page under monodoc's
'Commands and Files/Gendarme' node.
* gendarme.config: Added; mdoc-assemble config file to generate
gendarme.tree, gendarme.zip (containing gendarme.1).
* Makefile.am: Build and install man pages for monodoc.

2008-11-17 Jesse Jones <jesjones@mindspring.com>

* gendarme.1.in: Document config file.
Expand Down
13 changes: 12 additions & 1 deletion gendarme/man/Makefile.am
@@ -1,3 +1,14 @@
man_MANS = gendarme.1
EXTRA_DIST = gendarme.1.in
EXTRA_DIST = gendarme.1.in gendarme.config gendarme.source
DISTCLEANFILES = Makefile.in gendarme.1
CLEANFILES = gendarme.tree gendarme.zip

rules_documentationdir = $(prefix)/lib/monodoc/sources
rules_documentation_DATA = gendarme.source gendarme.tree gendarme.zip

all: gendarme.tree gendarme.zip

gendarme.zip : gendarme.tree
gendarme.tree: gendarme.config Makefile
mdoc assemble -o gendarme -f man $<

5 changes: 5 additions & 0 deletions gendarme/man/gendarme.config
@@ -0,0 +1,5 @@
<?xml version="1.0"?>
<manpages>
<manpage name="gendarme(1)" page="gendarme.1" />
</manpages>

6 changes: 6 additions & 0 deletions gendarme/man/gendarme.source
@@ -0,0 +1,6 @@
<?xml version="1.0"?>
<monodoc>
<node label="Gendarme" name="gendarme" parent="man"/>
<source provider="man" basefile="gendarme" path="gendarme"/>
</monodoc>

5 changes: 5 additions & 0 deletions gendarme/rules/ChangeLog
@@ -1,3 +1,8 @@
2009-01-27 Jonathan Pryor <jpryor@novell.com>

* common.make ($(rules_doc_source)): Change the .source file contents
so that rules are placed under the 'Commands and Files/Gendarme' node.

2009-01-09 Jesse Jones <jesjones@mindspring.com>

* Makefike.am: put rules target back in (needed for the new console
Expand Down
2 changes: 1 addition & 1 deletion gendarme/rules/common.make
Expand Up @@ -69,7 +69,7 @@ $(rules_doc_zip): $(generated_doc)
$(rules_doc_tree): $(generated_doc)

$(rules_doc_source):
echo -e "<?xml version='1.0'?>\n<monodoc>\n\t<source provider='ecma' basefile='$(prefixed_rules_category)' path='ruleslib-$(prefixed_rules_category)'/>\n</monodoc>" > $(rules_doc_source)
echo -e "<?xml version='1.0'?>\n<monodoc>\n\t<node label='Gendarme' name='gendarme' parent='man'/>\n\t<source provider='ecma' basefile='$(prefixed_rules_category)' path='gendarme'/>\n</monodoc>" > $(rules_doc_source)

clean-local:
rm -fr doc

0 comments on commit e20aa44

Please sign in to comment.