3 include ../build/rules.make
8 control-flow-analysis.txt \
11 new-anonymous-design.txt \
14 $(wildcard ecma334/*.xml)
23 cs-errors.tree cs-errors.zip \
24 ecma334.tree ecma334.zip \
26 netdocs.tree netdocs.zip \
27 Novell.tree Novell.zip
29 MONODOC_SOURCES_INSTALL_FILES = \
33 CLEAN_FILES += $(ASSEMBLED_DOCS)
35 ifndef DISABLE_MCS_DOCS
36 ifneq ($(PROFILE), $(DEFAULT_PROFILE))
37 DISABLE_MCS_DOCS = yes
41 csproj-local test-local run-test-local run-test-ondotnet-local doc-update:
46 dist-local: dist-default
49 MONODOC_INSTALL_DIR = $(DESTDIR)$(mono_libdir)/monodoc
51 ifdef DISABLE_MCS_DOCS
59 all-local: $(ASSEMBLED_DOCS)
62 $(MKINSTALLDIRS) $(MONODOC_INSTALL_DIR) $(MONODOC_INSTALL_DIR)/sources
63 $(INSTALL_DATA) $(MONODOC_SOURCES_INSTALL_FILES) $(MONODOC_INSTALL_DIR)/sources
64 $(INSTALL_DATA) monodoc.xml $(MONODOC_INSTALL_DIR)
67 -rm -f $(MONODOC_INSTALL_DIR)/monodoc.xml
68 -rm -f $(addprefix $(MONODOC_INSTALL_DIR)/sources/,$(MONODOC_SOURCES_INSTALL_FILES))
73 classdir = $(topdir)/class
74 doc_en = Documentation/en
77 $(classdir)/corlib/$(doc_en) \
78 $(classdir)/System.Windows.Forms/$(doc_en) \
79 $(classdir)/Microsoft.Build.Engine/$(doc_en) \
80 $(classdir)/Microsoft.Build.Framework/$(doc_en) \
81 $(classdir)/Microsoft.Build.Utilities/$(doc_en) \
82 $(classdir)/System.Configuration.Install/$(doc_en) \
83 $(classdir)/System.Core/$(doc_en) \
84 $(classdir)/System.Data/$(doc_en) \
85 $(classdir)/System.Design/$(doc_en) \
86 $(classdir)/System.DirectoryServices/$(doc_en) \
87 $(classdir)/System.Drawing/$(doc_en) \
88 $(classdir)/System.Json/$(doc_en) \
89 $(classdir)/System.Net.Http/$(doc_en) \
90 $(classdir)/System.Runtime.Remoting/$(doc_en) \
91 $(classdir)/System.Runtime.Serialization/$(doc_en) \
92 $(classdir)/System.Runtime.Serialization.Formatters.Soap/$(doc_en) \
93 $(classdir)/System.Security/$(doc_en) \
94 $(classdir)/System.ServiceModel/$(doc_en) \
95 $(classdir)/System.Web.Services/$(doc_en) \
96 $(classdir)/System.Web/$(doc_en) \
97 $(classdir)/System.XML/$(doc_en) \
98 $(classdir)/System.Xml.Linq/$(doc_en) \
99 $(classdir)/System/$(doc_en)
102 $(classdir)/Commons.Xml.Relaxng/$(doc_en) \
103 $(classdir)/Mono.Cairo/$(doc_en) \
104 $(classdir)/Mono.CSharp/$(doc_en) \
105 $(classdir)/Mono.Data.Sqlite/$(doc_en) \
106 $(classdir)/Mono.Debugger.Soft/$(doc_en) \
107 $(classdir)/Mono.Options/$(doc_en) \
108 $(classdir)/Mono.Parallel/$(doc_en) \
109 $(classdir)/Mono.Posix/$(doc_en) \
110 $(classdir)/Mono.Security.Win32/$(doc_en) \
111 $(classdir)/Mono.Security/$(doc_en) \
112 $(classdir)/Mono.Simd/$(doc_en)
115 $(topdir)/class/Novell.Directory.Ldap/Documentation/en
118 $(topdir)/nunit20/core/$(doc_en) \
119 $(topdir)/nunit20/framework/$(doc_en) \
120 $(topdir)/nunit20/mocks/$(doc_en) \
121 $(topdir)/nunit20/util/$(doc_en)
123 # To support `make -jN`, we can't mention multiple targets in the same rule;
126 # foo.tree foo.zip : Makefile
127 # $(MDOC) assemble -o foo $(FOO_DIRS)
129 # If you do, make will try to biuld foo.tree & foo.zip concurrently, which
130 # breaks things badly... (read: "mdoc: sharing violation on path...foo.zip").
132 # The proper solution is to chain the rule dependencies so that only one file
133 # is the target of a rule.
135 netdocs.zip : netdocs.tree
136 netdocs.tree: Makefile
137 $(MDOC) --debug assemble -o netdocs $(NETDOCS_DIRS)
141 $(MDOC) --debug assemble -o Mono $(MONO_DIRS)
143 Novell.zip : Novell.tree
144 Novell.tree: Makefile
145 $(MDOC) --debug assemble -o Novell $(NOVELL_DIRS)
147 cs-errors.zip : cs-errors.tree
148 cs-errors.tree: cs-errors.config Makefile
149 $(MDOC) --debug assemble -o cs-errors -f error $<
151 ecma334.zip : ecma334.tree
152 ecma334.tree: Makefile
153 $(MDOC) --debug assemble -o ecma334 -f ecmaspec ecma334