blob: 64df3156d10bf849a222ef866928b0c39c69d004 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
|
thisdir = docs
SUBDIRS =
include ../build/rules.make
DISTFILES = \
clr-abi.txt \
compiler.txt \
control-flow-analysis.txt \
cs-errors.config \
monodoc.xml \
new-anonymous-design.txt \
order.txt \
$(DOC_SOURCE_FILES) \
$(wildcard ecma334/*.xml)
DOC_SOURCE_FILES = \
lang-csharp.source \
Mono.source \
netdocs.source \
Novell.source
ASSEMBLED_DOCS = \
cs-errors.tree cs-errors.zip \
ecma334.tree ecma334.zip \
Mono.tree Mono.zip \
netdocs.tree netdocs.zip \
Novell.tree Novell.zip
MONODOC_SOURCES_INSTALL_FILES = \
$(ASSEMBLED_DOCS) \
$(DOC_SOURCE_FILES)
CLEAN_FILES += $(ASSEMBLED_DOCS)
ifeq (net_4_0, $(PROFILE))
all-local: build-documentation
endif
all-local csproj-local test-local run-test-local run-test-ondotnet-local doc-update:
clean-local:
-rm -f $(CLEAN_FILES)
dist-local: dist-default
MONODOC_INSTALL_DIR = $(DESTDIR)$(mono_libdir)/monodoc
ifdef DISABLE_MCS_DOCS
install-local:
uninstall-local:
else
install-local:
$(MKINSTALLDIRS) $(MONODOC_INSTALL_DIR) $(MONODOC_INSTALL_DIR)/sources
$(INSTALL_DATA) $(MONODOC_SOURCES_INSTALL_FILES) $(MONODOC_INSTALL_DIR)/sources
$(INSTALL_DATA) monodoc.xml $(MONODOC_INSTALL_DIR)
uninstall-local:
-rm -f $(MONODOC_INSTALL_DIR)/monodoc.xml
-rm -f $(addprefix $(MONODOC_INSTALL_DIR)/sources/,$(MONODOC_SOURCES_INSTALL_FILES))
endif
classdir = $(topdir)/class
doc_en = Documentation/en
NETDOCS_DIRS = \
$(classdir)/corlib/$(doc_en) \
$(classdir)/Microsoft.Build.Engine/$(doc_en) \
$(classdir)/Microsoft.Build.Framework/$(doc_en) \
$(classdir)/Microsoft.Build.Utilities/$(doc_en) \
$(classdir)/System.Configuration.Install/$(doc_en) \
$(classdir)/System.Core/$(doc_en) \
$(classdir)/System.Data/$(doc_en) \
$(classdir)/System.Design/$(doc_en) \
$(classdir)/System.DirectoryServices/$(doc_en) \
$(classdir)/System.Drawing/$(doc_en) \
$(classdir)/System.Runtime.Remoting/$(doc_en) \
$(classdir)/System.Runtime.Serialization.Formatters.Soap/$(doc_en) \
$(classdir)/System.Security/$(doc_en) \
$(classdir)/System.Web.Services/$(doc_en) \
$(classdir)/System.Web/$(doc_en) \
$(classdir)/System.XML/$(doc_en) \
$(classdir)/System/$(doc_en) \
MONO_DIRS = \
$(classdir)/Commons.Xml.Relaxng/$(doc_en) \
$(classdir)/Mono.Cairo/$(doc_en) \
$(classdir)/Mono.Cecil/$(doc_en) \
$(classdir)/Mono.GetOptions/$(doc_en) \
$(classdir)/Mono.Options/$(doc_en) \
$(classdir)/Mono.Posix/$(doc_en) \
$(classdir)/Mono.Security.Win32/$(doc_en) \
$(classdir)/Mono.Security/$(doc_en) \
$(classdir)/Mono.Simd/$(doc_en) \
$(classdir)/Mono.CSharp/$(doc_en) \
$(classdir)/Npgsql/$(doc_en)
NOVELL_DIRS = \
$(topdir)/class/Novell.Directory.Ldap/Documentation/en
NUNIT_DIRS = \
$(topdir)/nunit20/core/$(doc_en) \
$(topdir)/nunit20/framework/$(doc_en) \
$(topdir)/nunit20/mocks/$(doc_en) \
$(topdir)/nunit20/util/$(doc_en)
ifdef DISABLE_MCS_DOCS
build-documentation:
else
build-documentation: $(ASSEMBLED_DOCS)
endif
# To support `make -jN`, we can't mention multiple targets in the same rule;
# DO NOT DO THIS:
#
# foo.tree foo.zip : Makefile
# $(MDOC) assemble -o foo $(FOO_DIRS)
#
# If you do, make will try to biuld foo.tree & foo.zip concurrently, which
# breaks things badly... (read: "mdoc: sharing violation on path...foo.zip").
#
# The proper solution is to chain the rule dependencies so that only one file
# is the target of a rule.
netdocs.zip : netdocs.tree
netdocs.tree: Makefile
$(MDOC) assemble -o netdocs $(NETDOCS_DIRS)
Mono.zip : Mono.tree
Mono.tree: Makefile
$(MDOC) assemble -o Mono $(MONO_DIRS)
Novell.zip : Novell.tree
Novell.tree: Makefile
$(MDOC) assemble -o Novell $(NOVELL_DIRS)
cs-errors.zip : cs-errors.tree
cs-errors.tree: cs-errors.config Makefile
$(MDOC) assemble -o cs-errors -f error $<
ecma334.zip : ecma334.tree
ecma334.tree: Makefile
$(MDOC) assemble -o ecma334 -f ecmaspec ecma334
|