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
|
thisdir = tools/monodoc
SUBDIRS =
include ../../build/rules.make
LIBRARY = monodoc.dll
LIBRARY_PACKAGE = monodoc
RESOURCE_FILES = \
../../docs/monodoc.xml \
Resources/base.css \
Resources/ecmaspec-html-css.xsl \
Resources/ecmaspec-html.xsl \
Resources/ecmaspec.css \
Resources/helper.js \
Resources/home.html \
Resources/Lminus.gif \
Resources/Lplus.gif \
Resources/mdoc-html-format.xsl \
Resources/mdoc-html-utils.xsl \
Resources/mdoc-sections-css.xsl \
Resources/mdoc-sections.xsl \
Resources/mono-ecma-css.xsl \
Resources/mono-ecma-impl.xsl \
Resources/mono-ecma.css \
Resources/mono-ecma.xsl
MAN_TEST_FILES = \
Test/man-provider-test.cs \
Test/man-test1.1 \
Test/man-test1.html \
Test/man-test2.1 \
Test/man-test2.html \
Test/man-test3.1 \
Test/man-test3.html \
Test/man-test4.1 \
Test/man-test4.html
EXTRA_DISTFILES = \
monodoc.dll.config.in \
$(RESOURCE_FILES) \
$(MAN_TEST_FILES)
LIB_MCS_FLAGS = \
/codepage:utf8 \
/nowarn:169,164,162,168,219 \
/r:Commons.Xml.Relaxng \
/resource:../../docs/monodoc.xml,monodoc.xml \
/resource:Resources/base.css,base.css \
/resource:Resources/ecmaspec-html-css.xsl,ecmaspec-html-css.xsl \
/resource:Resources/ecmaspec-html.xsl,ecmaspec-html.xsl \
/resource:Resources/ecmaspec.css,ecmaspec.css \
/resource:Resources/helper.js,helper.js \
/resource:Resources/home.html,home.html \
/resource:Resources/Lminus.gif,Lminus.gif \
/resource:Resources/Lplus.gif,Lplus.gif \
/resource:Resources/mdoc-html-format.xsl,mdoc-html-format.xsl \
/resource:Resources/mdoc-html-utils.xsl,mdoc-html-utils.xsl \
/resource:Resources/mdoc-sections-css.xsl,mdoc-sections-css.xsl \
/resource:Resources/mdoc-sections.xsl,mdoc-sections.xsl \
/resource:Resources/mono-ecma-css.xsl,mono-ecma-css.xsl \
/resource:Resources/mono-ecma-impl.xsl,mono-ecma-impl.xsl \
/resource:Resources/mono-ecma.css,mono-ecma.css \
/resource:Resources/mono-ecma.xsl,mono-ecma.xsl \
/r:ICSharpCode.SharpZipLib \
/r:$(corlib) \
/r:System.dll \
/r:System.Web \
/r:System.Web.Services \
/r:System.Xml.dll
include ../../build/library.make
$(the_lib): Makefile $(RESOURCE_FILES)
all-local: $(the_lib).config
$(the_lib).config: Makefile
sed 's,@monodoc_refdir@,$(mono_libdir)/monodoc,g' monodoc.dll.config.in > $@
test: Test/man-provider-test.exe
run-test-local: check-man-provider
run-test-update: check-man-provider-update
Test/man-provider-test.exe: Test/man-provider-test.cs $(the_lib)
$(CSCOMPILE) -target:exe -out:$@ $< /r:$(the_lib)
my_mono = \
MONO_REGISTRY_PATH="$(HOME)/.mono/registry" \
$(TEST_RUNTIME) \
$(RUNTIME_FLAGS)
check-man-provider: Test/man-provider-test.exe
$(my_mono) $< Test/man-test1.1 | diff - Test/man-test1.html
$(my_mono) $< Test/man-test2.1 | diff - Test/man-test2.html
$(my_mono) $< Test/man-test3.1 | diff - Test/man-test3.html
$(my_mono) $< Test/man-test4.1 | diff - Test/man-test4.html
check-man-provider-update: Test/man-provider-test.exe
$(my_mono) $< Test/man-test1.1 > Test/man-test1.html
$(my_mono) $< Test/man-test2.1 > Test/man-test2.html
$(my_mono) $< Test/man-test3.1 > Test/man-test3.html
$(my_mono) $< Test/man-test4.1 > Test/man-test4.html
clean-local: cleanup
cleanup:
-rm -f Test/man-provider-test.exe*
|