diff options
author | Sebastien Pouliot <sebastien@ximian.com> | 2008-11-23 22:10:30 +0300 |
---|---|---|
committer | Sebastien Pouliot <sebastien@ximian.com> | 2008-11-23 22:10:30 +0300 |
commit | 5735e88b8690f2f205bcdcae79627ee7d37974f2 (patch) | |
tree | 3c4d8225c7020dc8b4b542f91144cf9d8ba04c33 /gendarme/framework | |
parent | fb2264ababa41bc0067ef539a56d532e54d00fde (diff) |
2008-11-23 Sebastien Pouliot <sebastien@ximian.com>
* Makefile.am: Avoid re-building documentation needlessly. This
fix the case where a make install, under su, would fail to locate
mdoc.
svn path=/trunk/mono-tools/; revision=119757
Diffstat (limited to 'gendarme/framework')
-rw-r--r-- | gendarme/framework/ChangeLog | 6 | ||||
-rw-r--r-- | gendarme/framework/Makefile.am | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/gendarme/framework/ChangeLog b/gendarme/framework/ChangeLog index 7a9638b6..960fe439 100644 --- a/gendarme/framework/ChangeLog +++ b/gendarme/framework/ChangeLog @@ -1,3 +1,9 @@ +2008-11-23 Sebastien Pouliot <sebastien@ximian.com> + + * Makefile.am: Avoid re-building documentation needlessly. This + fix the case where a make install, under su, would fail to locate + mdoc. + 2008-11-17 Jesse Jones <jesjones@mindspring.com> * Makefile.am: Added new Log.cs file. diff --git a/gendarme/framework/Makefile.am b/gendarme/framework/Makefile.am index 0e5fbb2d..2420452e 100644 --- a/gendarme/framework/Makefile.am +++ b/gendarme/framework/Makefile.am @@ -21,7 +21,7 @@ framework_documentationdir = $(prefix)/lib/monodoc/sources framework_documentation_DATA = $(framework_doc) framework_doc = $(framework_doc_zip) $(framework_doc_source) $(framework_doc_tree) -generated_doc = doc doc/generated/**/*.xml +generated_doc = doc/generated/index.xml framework_sources_in = ../AssemblyInfo.cs.in framework_generated_sources = $(framework_sources_in:.in=) @@ -108,8 +108,8 @@ run-test: test self-test: $(framework_SCRIPTS) mono --debug ../bin/gendarme.exe $(framework_SCRIPTS) -$(generated_doc): $(framework_SCRIPTS).doc - test -d doc || mkdir doc +$(generated_doc): $(framework_SCRIPTS) + mkdir -p doc mdoc update -i $(framework_SCRIPTS).doc -o doc/generated $(framework_SCRIPTS) $(framework_doc_zip): $(generated_doc) |