Debian Codegraph @

mcs/tools/mdoc/Makefile

raw ◀ ▶
1 Debian patch touch this file
1 thisdir = tools/mdoc
2 SUBDIRS =
3 include ../../build/rules.make
4
5 MONODOC_RESOURCES = \
6 Resources/mdoc-html-format.xsl \
7 Resources/mdoc-html-utils.xsl \
8 Resources/mdoc-sections-css.xsl \
9 Resources/mono-ecma-css.xsl
10
11 MDOC_RESOURCES = \
12 Resources/defaulttemplate.xsl \
13 Resources/monodoc-ecma.xsd \
14 Resources/msitomsx.xsl \
15 Resources/overview.xsl \
16 Resources/stylesheet.xsl
17
18 MDOC_RESOURCES_COMMAND = $(foreach file,$(MDOC_RESOURCES),/resource:../../../external/api-doc-tools/mdoc/$(file),$(notdir $(file)))
19
20 MONODOC_RESOURCES_COMMAND = $(foreach file,$(MONODOC_RESOURCES),/resource:../../../external/api-doc-tools/monodoc/$(file),$(notdir $(file)))
21
22 LIB_REFS = monodoc System System.Xml System.Core Mono.Cecil ICSharpCode.SharpZipLib System.Xml.Linq System.Web
23
24 LOCAL_MCS_FLAGS = $(MDOC_RESOURCES_COMMAND) $(MONODOC_RESOURCES_COMMAND) -define:NEW_CECIL
25 PROGRAM = $(topdir)/class/lib/$(PROFILE)/mdoc.exe
26 PROGRAM_DEPS = $(topdir)/class/lib/$(PROFILE)/monodoc.dll
27 MSCORLIB = -r:$(topdir)/class/lib/$(PROFILE)/mscorlib.dll
28
29
30 MDOC_TEST_FILES = \
31 Test/CLILibraryTypes.dtd \
32 Test/DocTest-v1.cs \
33 Test/DocTest-v2.patch \
34 Test/msxdoc-expected.importslashdoc.xml \
35 Test/TestEcmaDocs.xml \
36 Test/validate.check.monodocer \
37 Test/validate.check.monodocer.importslashdoc \
38 Test/validate.check.monodocer.since
39
40 MULTI-CLASSIC = Test/DocTest-DropNS-classic.dll Test/DocTest-DropNS-classic-multitest.dll
41 MULTI-UNIFIED = Test/DocTest-DropNS-unified.dll Test/DocTest-DropNS-unified-multitest.dll
42
43 $(PROGRAM): $(PROGRAM_DEPS)
44
45 PROGRAM_COMPILE = $(CSCOMPILE)
46
47 include ../../build/executable.make
48
49 MONO = \
50 MONO_PATH="$(topdir)/class/lib/$(PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" \
51 $(RUNTIME) $(RUNTIME_FLAGS)
52
53 DIFF = diff -rup
54 DIFF_QUIET = diff --brief
55 ifeq ($(BUILD_PLATFORM), win32)
56 DIFF = diff -rupZ
57 DIFF_QUIET = diff --brief -Z
58 endif
59
•60 ifdef MCS_MODE
61 DIFF = echo "WARNING: running in mcs mode, tests are specific to roslyn and would fail. Skipping diff check."
62 DIFF_QUIET = $(DIFF)
63 endif
64
65 dist-local: dist-default dist-tests
66
67 dist-tests:
68 find Test/en.expected* -name '*.xml' > .files
69 find Test/html.expected* -name '*.html' >> .files
70 tar cTf .files - | (cd $(distdir); tar xf -)
71 rm .files ; \
72
73 test-local: $(PROGRAM)
74
75 clean-local: cleanup
76
77 cleanup:
78 -rm -Rf Test/en.actual Test/html.actual
79 -rm -f monodocer1.exe*
80
81 Test/DocTest-addNonGeneric.dll:
82 $(CSCOMPILE) $(TEST_CSCFLAGS) $(MSCORLIB) -unsafe -target:library -out:$@ Test/DocTest-addNonGeneric.cs
83
84 Test/DocTest-addNonGeneric-v2.dll:
85 $(CSCOMPILE) $(TEST_CSCFLAGS) $(MSCORLIB) -unsafe -target:library -out:$@ Test/DocTest-addNonGeneric.cs /define:V2
86
87 Test/DocTest-DropNS-classic-secondary.dll:
88 @echo $(value @)
89 $(CSCOMPILE) $(TEST_CSCFLAGS) $(MSCORLIB) -unsafe -target:library -out:$@ Test/DocTest-DropNS-classic-secondary.cs -doc:Test/DocTest-DropNS-classic-secondary.xml
90
91 Test/DocTest-DropNS-classic.dll:
92 @echo $(value @)
93 $(CSCOMPILE) $(TEST_CSCFLAGS) $(MSCORLIB) -unsafe -target:library -out:$@ Test/DocTest-DropNS-classic.cs -doc:Test/DocTest-DropNS-classic.xml
94
95 Test/DocTest-DropNS-unified.dll:
96 $(CSCOMPILE) $(TEST_CSCFLAGS) $(MSCORLIB) -unsafe -target:library -out:$@ Test/DocTest-DropNS-unified.cs
97
98 Test/DocTest-DropNS-unified-multitest.dll:
99 rm -f $@
100 $(CSCOMPILE) $(TEST_CSCFLAGS) $(MSCORLIB) -unsafe -target:library -out:$@ Test/DocTest-DropNS-unified.cs /define:MULTITEST
101
102 Test/DocTest-DropNS-classic-multitest.dll:
103 rm -f $@
104 $(CSCOMPILE) $(TEST_CSCFLAGS) $(MSCORLIB) -unsafe -target:library -out:$@ Test/DocTest-DropNS-classic.cs /define:MULTITEST
105
106 Test/DocTest-DropNS-unified-deletetest.dll:
107 rm -f Test/DocTest-DropNS-unified-deletetest.dll
108 $(CSCOMPILE) $(TEST_CSCFLAGS) $(MSCORLIB) -unsafe -target:library -out:$@ Test/DocTest-DropNS-unified.cs /define:DELETETEST
109
110 Test/DocTest-DropNS-unified-deletetest-V2.dll:
111 rm -f Test/DocTest-DropNS-unified-deletetest.dll
112 $(CSCOMPILE) $(TEST_CSCFLAGS) $(MSCORLIB) -unsafe -target:library -out:Test/DocTest-DropNS-unified-deletetest.dll Test/DocTest-DropNS-unified.cs /define:DELETETEST,V2
113
114 Test/DocTest-DropNS-classic-deletetest.dll:
115 rm -f Test/DocTest-DropNS-classic-deletetest.dll
116 $(CSCOMPILE) $(TEST_CSCFLAGS) $(MSCORLIB) -unsafe -target:library -out:$@ Test/DocTest-DropNS-classic.cs /define:DELETETEST
117
118 Test/DocTest-DropNS-classic-deletetest-V2.dll:
119 rm -f Test/DocTest-DropNS-classic-deletetest.dll
120 $(CSCOMPILE) $(TEST_CSCFLAGS) $(MSCORLIB) -unsafe -target:library -out:Test/DocTest-DropNS-classic-deletetest.dll Test/DocTest-DropNS-classic.cs /define:DELETETEST,V2
121
122 Test/DocTest.dll:
123 $(CSCOMPILE) $(TEST_CSCFLAGS) $(MSCORLIB) -unsafe -target:library -out:$@ Test/DocTest.cs -r:$(topdir)/class/lib/$(PROFILE)/System.Core.dll -r:$(topdir)/class/lib/$(PROFILE)/Microsoft.CSharp.dll
124
125 Test/DocTest-InternalInterface.dll:
126 $(CSCOMPILE) $(TEST_CSCFLAGS) $(MSCORLIB) -unsafe -target:library -out:$@ Test/DocTest-InternalInterface.cs
127
128 Test/DocTest.dll-v1:
129 -rm -f Test/DocTest.cs
130 cp Test/DocTest-v1.cs Test/DocTest.cs
131 -rm -f Test/DocTest.dll
132 $(MAKE) TEST_CSCFLAGS=$(TEST_CSCFLAGS) Test/DocTest.dll
133
134 Test/DocTest.dll-v2:
135 -rm -f Test/DocTest.cs
136 cp Test/DocTest-v1.cs Test/DocTest.cs
137 cd Test && patch -p0 < DocTest-v2.patch
138 -rm -f Test/DocTest.dll
139 $(MAKE) TEST_CSCFLAGS=$(TEST_CSCFLAGS) Test/DocTest.dll
140
141 Test/DocTest-enumerations.dll:
142 $(CSCOMPILE) $(TEST_CSCFLAGS) $(MSCORLIB) -unsafe -target:library -out:$@ Test/DocTest-enumerations.cs
143
144 check-monodocer-addNonGeneric: $(PROGRAM)
145 -rm -Rf Test/en.actual
146 # first, make a docset with the generic method
147 $(MAKE) Test/DocTest-addNonGeneric.dll
148 $(MONO) $(PROGRAM) update -o Test/en.actual Test/DocTest-addNonGeneric.dll
149
150 # now add a non-generic version of the method and update several times
151 $(MAKE) Test/DocTest-addNonGeneric-v2.dll
152 $(MONO) $(PROGRAM) update -o Test/en.actual Test/DocTest-addNonGeneric-v2.dll
153 $(MONO) $(PROGRAM) update -o Test/en.actual Test/DocTest-addNonGeneric-v2.dll
154 $(MONO) $(PROGRAM) update -o Test/en.actual Test/DocTest-addNonGeneric-v2.dll
155 $(DIFF) Test/en.expected-addNonGeneric Test/en.actual
156
157 check-monodocer-dropns-classic: $(PROGRAM)
158 # tests the simplest --dropns case, a single class where the root namespace was dropped.
159 -rm -Rf Test/en.actual
160 $(MAKE) Test/DocTest-DropNS-classic.dll
161 $(MONO) $(PROGRAM) update -o Test/en.actual Test/DocTest-DropNS-classic.dll --api-style=classic
162 $(MAKE) update-monodocer-dropns-unified
163 $(DIFF) Test/en.expected-dropns-classic-v1 Test/en.actual
164
165 check-monodocer-dropns-multi: $(PROGRAM)
166 -rm -Rf Test/en.actual
167 $(MAKE) Test/DocTest-DropNS-classic.dll
168 $(MAKE) Test/DocTest-DropNS-unified.dll
169 $(MAKE) Test/DocTest-DropNS-classic-multitest.dll
170 $(MAKE) Test/DocTest-DropNS-unified-multitest.dll
171
172 # mdoc update for both classic and unified
173 $(MONO) $(PROGRAM) update -o Test/en.actual $(MULTI-CLASSIC) --api-style=classic
174 $(MONO) $(PROGRAM) update -o Test/en.actual $(MULTI-UNIFIED) --api-style=unified --dropns Test/DocTest-DropNS-unified.dll=MyFramework --dropns Test/DocTest-DropNS-unified-multitest.dll=MyFramework
175
176 # now run it again to verify idempotency
177 $(MONO) $(PROGRAM) update -o Test/en.actual $(MULTI-CLASSIC) --api-style=classic
178 $(MONO) $(PROGRAM) update -o Test/en.actual $(MULTI-UNIFIED) --api-style=unified --dropns Test/DocTest-DropNS-unified.dll=MyFramework --dropns Test/DocTest-DropNS-unified-multitest.dll=MyFramework
179
180 $(DIFF) Test/en.expected-dropns-multi Test/en.actual
181
182
183 check-monodocer-dropns-multi-withexisting: $(PROGRAM)
184 -rm -Rf Test/en.actual
185 $(MAKE) Test/DocTest-DropNS-classic.dll
186 $(MAKE) Test/DocTest-DropNS-unified.dll
187 $(MAKE) Test/DocTest-DropNS-classic-multitest.dll
188 $(MAKE) Test/DocTest-DropNS-unified-multitest.dll
189
190 # mdoc update to show a pre-existing set of documents
191 $(MONO) $(PROGRAM) update -o Test/en.actual Test/DocTest-DropNS-classic.dll --api-style=classic
192 $(MONO) $(PROGRAM) update -o Test/en.actual Test/DocTest-DropNS-unified.dll --api-style=unified --dropns Test/DocTest-DropNS-unified.dll=MyFramework
193
194 # mdoc update for both classic and unified
195 $(MONO) $(PROGRAM) update -o Test/en.actual $(MULTI-CLASSIC) --api-style=classic
196 $(MONO) $(PROGRAM) update -o Test/en.actual $(MULTI-UNIFIED) --api-style=unified --dropns Test/DocTest-DropNS-unified.dll=MyFramework --dropns Test/DocTest-DropNS-unified-multitest.dll=MyFramework
197
198 $(DIFF) Test/en.expected-dropns-multi-withexisting Test/en.actual
199
200 check-monodocer-dropns-delete: $(PROGRAM)
201 -rm -Rf Test/en.actual
202 -rm -Rf Test/actual_statistics.txt
203 rm -Rf Test/DocTest-DropNS-classic-deletetest.dll
204 rm -Rf Test/DocTest-DropNS-unified-deletetest.dll
205 $(MAKE) Test/DocTest-DropNS-classic-deletetest.dll
206 $(MONO) $(PROGRAM) update --delete -o Test/en.actual Test/DocTest-DropNS-classic-deletetest.dll --api-style=classic
207 $(MAKE) Test/DocTest-DropNS-unified-deletetest.dll
208 $(MONO) $(PROGRAM) update --delete -o Test/en.actual Test/DocTest-DropNS-unified-deletetest.dll --api-style=unified --dropns Test/DocTest-DropNS-unified-deletetest.dll=MyFramework
209 $(MAKE) Test/DocTest-DropNS-classic-deletetest-V2.dll
210 $(MONO) $(PROGRAM) update --delete -o Test/en.actual Test/DocTest-DropNS-classic-deletetest.dll --api-style=classic
211 $(MAKE) Test/DocTest-DropNS-unified-deletetest-V2.dll
212 $(MONO) $(PROGRAM) update --delete -o Test/en.actual Test/DocTest-DropNS-unified-deletetest.dll --api-style=unified --dropns Test/DocTest-DropNS-unified-deletetest.dll=MyFramework -statistics Test/actual_statistics.txt
213 $(DIFF) Test/en.expected-dropns-delete Test/en.actual
214 $(DIFF) Test/expected_remove_statistics.txt Test/actual_statistics.txt
215
216 check-monodocer-dropns-classic-withsecondary: $(PROGRAM)
217 # tests case where a secondary assembly is included with a --dropns parameter
218 -rm -Rf Test/en.actual
219 $(MAKE) Test/DocTest-DropNS-classic.dll
220 $(MAKE) Test/DocTest-DropNS-classic-secondary.dll
221 $(MONO) $(PROGRAM) update -o Test/en.actual Test/DocTest-DropNS-classic.dll Test/DocTest-DropNS-classic-secondary.dll --api-style=classic
222 $(MAKE) update-monodocer-dropns-unified-withsecondary
223 $(DIFF) Test/en.expected-dropns-classic-withsecondary Test/en.actual
224
225 update-monodocer-dropns-unified: $(PROGRAM)
226 $(MAKE) Test/DocTest-DropNS-unified.dll
227 $(MONO) $(PROGRAM) update --debug -o Test/en.actual Test/DocTest-DropNS-unified.dll --api-style=unified --dropns Test/DocTest-DropNS-unified.dll=MyFramework
228
229 update-monodocer-dropns-unified-withsecondary: $(PROGRAM)
230 $(MAKE) Test/DocTest-DropNS-unified.dll
231 $(MONO) $(PROGRAM) update -o Test/en.actual Test/DocTest-DropNS-unified.dll Test/DocTest-DropNS-classic-secondary.dll --api-style=unified --dropns Test/DocTest-DropNS-unified.dll=MyFramework
232
233 update-monodocer-dropns-classic-secondary: $(PROGRAM)
234 $(MAKE) Test/DocTest-DropNS-classic-secondary.dll
235 $(MONO) $(PROGRAM) update -o Test/en.actual Test/DocTest-DropNS-classic-secondary.dll --api-style=classic
236
237 check-monodocer-internal-interface: $(PROGRAM)
238 # Tests to make sure internal interfaces that are explicitly implemented are not documented
239 -rm -Rf Test/en.actual
240 $(MAKE) Test/DocTest-InternalInterface.dll
241 $(MONO) $(PROGRAM) update -o Test/en.actual Test/DocTest-InternalInterface.dll -lang VB.NET
242 $(DIFF) Test/en.expected-internal-interface Test/en.actual
243
244 check-monodocer-enumerations: $(PROGRAM)
245 -rm -Rf Test/en.actual
246 $(MAKE) Test/DocTest-enumerations.dll
247 $(MONO) $(PROGRAM) update -o Test/en.actual Test/DocTest-enumerations.dll
248 $(DIFF) Test/en.expected-enumerations Test/en.actual
249
250 check-monodocer-update: $(PROGRAM)
251 find Test/en.expected -name \*.xml -exec rm "{}" \;
252 $(MAKE) Test/DocTest.dll-v1
253 $(MONO) $(PROGRAM) update -o Test/en.expected Test/DocTest.dll -lang docid -lang vb.net -lang fsharp -lang javascript -lang c++/cli -lang c++/cx -lang c++/winrt
254
255 check-monodocer: $(PROGRAM)
256 -rm -Rf Test/en.actual
257 $(MAKE) Test/DocTest.dll-v1
258 $(MONO) $(PROGRAM) update --debug -o Test/en.actual Test/DocTest.dll -lang docid -lang vb.net -lang fsharp -lang javascript -lang c++/cli -lang c++/cx -lang c++/winrt
259 $(DIFF) Test/en.expected Test/en.actual
260 $(MONO) $(PROGRAM) update --debug -o Test/en.actual Test/DocTest.dll -lang docid -lang vb.net -lang fsharp -lang javascript -lang c++/cli -lang c++/cx -lang c++/winrt
261 $(DIFF) Test/en.expected Test/en.actual
262
263 check-monodocer-since-update: $(PROGRAM)
264 find Test/en.expected.since -name \*.xml -exec rm "{}" \;
265 $(MAKE) Test/DocTest.dll-v1
266 $(MONO) $(PROGRAM) update -o Test/en.expected.since Test/DocTest.dll
267 $(MAKE) Test/DocTest.dll-v2
268 $(MONO) $(PROGRAM) update --since="Version 2.0" \
269 -o Test/en.expected.since Test/DocTest.dll
270
271 check-monodocer-since: $(PROGRAM)
272 rm -Rf Test/en.actual
273 $(MAKE) Test/DocTest.dll-v1
274 $(MONO) $(PROGRAM) --debug update -o Test/en.actual Test/DocTest.dll
275 $(MAKE) Test/DocTest.dll-v2
276 $(MONO) $(PROGRAM) --debug update --since="Version 2.0" \
277 -o Test/en.actual Test/DocTest.dll
278 $(DIFF) Test/en.expected.since Test/en.actual
279
280 check-monodocer-delete-update: $(PROGRAM)
281 find Test/en.expected.delete -type f -exec rm "{}" \;
282 $(MAKE) Test/DocTest.dll-v1
283 $(MONO) $(PROGRAM) update -o Test/en.expected.delete Test/DocTest.dll
284 $(MAKE) Test/DocTest.dll-v2
285 $(MONO) $(PROGRAM) update -o Test/en.expected.delete Test/DocTest.dll
286 $(MAKE) Test/DocTest.dll-v1
287 $(MONO) $(PROGRAM) update -fno-assembly-versions --delete \
288 -o Test/en.expected.delete Test/DocTest.dll
289
290 check-monodocer-delete: $(PROGRAM)
291 rm -Rf Test/en.actual
292 $(MAKE) Test/DocTest.dll-v1
293 $(MONO) $(PROGRAM) --debug update -o Test/en.actual Test/DocTest.dll
294 $(MAKE) Test/DocTest.dll-v2
295 $(MONO) $(PROGRAM) --debug update -o Test/en.actual Test/DocTest.dll
296 $(MAKE) Test/DocTest.dll-v1
297 $(MONO) $(PROGRAM) --debug update -fno-assembly-versions --delete -o Test/en.actual Test/DocTest.dll
298 $(DIFF) Test/en.expected.delete Test/en.actual
299
300 check-monodocer-importslashdoc-update: $(PROGRAM)
301 find Test/en.expected.importslashdoc -name \*.xml -exec rm "{}" \;
302 $(MAKE) Test/DocTest.dll-v1 TEST_CSCFLAGS=-doc:Test/DocTest.xml
303 $(MONO) $(PROGRAM) --debug update -i Test/DocTest.xml \
304 -o Test/en.expected.importslashdoc Test/DocTest.dll
305
306 check-monodocer-importslashdoc: $(PROGRAM)
307 rm -Rf Test/en.actual
308 $(MAKE) Test/DocTest.dll-v1 TEST_CSCFLAGS=-doc:Test/DocTest.xml
309 $(MONO) $(PROGRAM) --debug update -i Test/DocTest.xml \
310 -o Test/en.actual Test/DocTest.dll
311 $(DIFF) Test/en.expected.importslashdoc Test/en.actual
312
313 check-monodocer-importecmadoc-update: $(PROGRAM)
314 find Test/en.expected.importecmadoc -name \*.xml -exec rm "{}" \;
315 $(MAKE) Test/DocTest.dll-v1
316 $(MONO) $(PROGRAM) --debug update -i Test/TestEcmaDocs.xml \
317 '--type=System.Action`1' --type=System.AsyncCallback \
318 --type=System.Environment --type=System.Array \
319 -o Test/en.expected.importecmadoc Test/DocTest.dll
320
321 check-monodocer-importecmadoc: $(PROGRAM)
322 rm -Rf Test/en.actual
323 $(MAKE) Test/DocTest.dll-v1
324 $(MONO) $(PROGRAM) --debug update -i Test/TestEcmaDocs.xml \
325 '--type=System.Action`1' --type=System.AsyncCallback \
326 --type=System.Environment --type=System.Array \
327 -o Test/en.actual Test/DocTest.dll
328 $(DIFF) Test/en.expected.importecmadoc Test/en.actual
329
330 check-mdoc-export-html-update: $(PROGRAM)
331 find Test/html.expected -name \*.html -exec rm "{}" \;
332 $(MONO) $(PROGRAM) export-html -o Test/html.expected \
333 Test/en.expected.importslashdoc
334
335 check-mdoc-export-html: check-monodocer $(PROGRAM)
336 rm -Rf Test/html.actual
337 $(MONO) $(PROGRAM) export-html -o Test/html.actual \
338 Test/en.expected.importslashdoc
339 $(DIFF) Test/html.expected Test/html.actual
340
341 check-mdoc-export-html-with-version: $(PROGRAM)
342 rm -Rf Test/html.actual.v0 Test/html.actual.since-with-v0 .v0.txt .v2.txt
343 $(MONO) $(PROGRAM) export-html -o Test/html.actual.v0 \
344 Test/en.expected
345 $(MONO) $(PROGRAM) export-html -o Test/html.actual.since-with-v0 \
346 Test/en.expected.since -with-version 0.0.0.0
347 (cd Test/html.actual.v0 && find . -type f) | sort > .v0.txt
348 (cd Test/html.actual.since-with-v0 && find . -type f) | sort > .v2.txt
349 $(DIFF) .v0.txt .v2.txt # assert no types added
350
351 check-md-html-dir: $(PROGRAM)
352 rm -Rf Test/html.actual
353 $(MONO) $(PROGRAM) export-html -dest:Test/html.actual $(DIR)
354 $(DIFF) Test/html.expected Test/html.actual
355
356 check-mdoc-export-msxdoc-update:
357 $(MONO) $(PROGRAM) export-msxdoc -o - Test/en.expected.importslashdoc \
358 > Test/msxdoc-expected.importslashdoc.xml
359
360 check-mdoc-export-msxdoc:
361 $(MONO) $(PROGRAM) export-msxdoc -o - Test/en.expected.importslashdoc \
•362 | $(DIFF_QUIET) - Test/msxdoc-expected.importslashdoc.xml
363
364 my_abs_top_srcdir = $(shell cd . && pwd)
365
366 check-mdoc-validate-update: $(PROGRAM)
367 $(MONO) $(PROGRAM) validate -f ecma Test/en.expected 2>&1 | \
368 sed 's#file://$(my_abs_top_srcdir)/##g' > \
369 Test/validate.check.monodocer
370 $(MONO) $(PROGRAM) validate -f ecma Test/en.expected.importslashdoc 2>&1 | \
371 sed 's#file://$(my_abs_top_srcdir)/##g' > \
372 Test/validate.check.monodocer.importslashdoc
373 $(MONO) $(PROGRAM) validate -f ecma Test/en.expected.since 2>&1 | \
374 sed 's#file://$(my_abs_top_srcdir)/##g' > \
375 Test/validate.check.monodocer.since
376
377 check-mdoc-validate: $(PROGRAM)
378 $(MONO) $(PROGRAM) validate -f ecma Test/en.expected 2>&1 | \
379 sed 's#file://$(my_abs_top_srcdir)/##g' | \
380 $(DIFF_QUIET) - Test/validate.check.monodocer
381 $(MONO) $(PROGRAM) validate -f ecma Test/en.expected.importslashdoc 2>&1 | \
382 sed 's#file://$(my_abs_top_srcdir)/##g' | \
383 $(DIFF_QUIET) - Test/validate.check.monodocer.importslashdoc
384 $(MONO) $(PROGRAM) validate -f ecma Test/en.expected.since 2>&1 | \
385 sed 's#file://$(my_abs_top_srcdir)/##g' | \
386 $(DIFF_QUIET) - Test/validate.check.monodocer.since
387
388 run-test-local: check-doc-tools
389
390 run-test-update : check-doc-tools-update
391
392 check-doc-tools: \
393 check-monodocer-since \
394 check-monodocer-importecmadoc \
395 check-monodocer-importslashdoc \
396 check-monodocer \
397 check-monodocer-delete \
398 check-mdoc-export-html \
399 check-mdoc-export-html-with-version \
400 check-mdoc-export-msxdoc \
401 check-mdoc-validate \
402 check-monodocer-dropns-classic \
403 check-monodocer-dropns-classic-withsecondary \
404 check-monodocer-internal-interface \
405 check-monodocer-enumerations \
406 check-monodocer-dropns-multi \
407 check-monodocer-dropns-multi-withexisting
408
409 #check-monodocer-dropns-delete
410
411 check-doc-tools-update: check-monodocer-since-update \
412 check-monodocer-importecmadoc-update \
413 check-monodocer-importslashdoc-update \
414 check-monodocer-update \
415 check-monodocer-delete-update \
416 check-mdoc-export-html-update \
417 check-mdoc-export-msxdoc-update \
418 check-mdoc-validate-update
419
420 check: check-doc-tools
421