GenericParameter.cs: override Module properly
[mcs.git] / tools / monodoc / Makefile
blobf605e3310b50afcb7fb30b2175c219ae9d21f5c7
1 thisdir = tools/monodoc
2 SUBDIRS =
3 include ../../build/rules.make
5 LIBRARY = monodoc.dll
6 LIBRARY_PACKAGE = monodoc
8 RESOURCE_FILES = \
9 ../../docs/monodoc.xml \
10 Resources/base.css \
11 Resources/ecmaspec-html-css.xsl \
12 Resources/ecmaspec-html.xsl \
13 Resources/ecmaspec.css \
14 Resources/helper.js \
15 Resources/home.html \
16 Resources/Lminus.gif \
17 Resources/Lplus.gif \
18 Resources/mdoc-html-format.xsl \
19 Resources/mdoc-html-utils.xsl \
20 Resources/mdoc-sections-css.xsl \
21 Resources/mdoc-sections.xsl \
22 Resources/mono-ecma-css.xsl \
23 Resources/mono-ecma-impl.xsl \
24 Resources/mono-ecma.css \
25 Resources/mono-ecma.xsl
27 MAN_TEST_FILES = \
28 Test/man-provider-test.cs \
29 Test/man-test1.1 \
30 Test/man-test1.html \
31 Test/man-test2.1 \
32 Test/man-test2.html \
33 Test/man-test3.1 \
34 Test/man-test3.html \
35 Test/man-test4.1 \
36 Test/man-test4.html
38 EXTRA_DISTFILES = \
39 monodoc.dll.config.in \
40 $(RESOURCE_FILES) \
41 $(MAN_TEST_FILES)
43 LIB_MCS_FLAGS = \
44 /codepage:utf8 \
45 /nowarn:169,164,162,168,219 \
46 /r:Commons.Xml.Relaxng \
47 /resource:../../docs/monodoc.xml,monodoc.xml \
48 /resource:Resources/base.css,base.css \
49 /resource:Resources/ecmaspec-html-css.xsl,ecmaspec-html-css.xsl \
50 /resource:Resources/ecmaspec-html.xsl,ecmaspec-html.xsl \
51 /resource:Resources/ecmaspec.css,ecmaspec.css \
52 /resource:Resources/helper.js,helper.js \
53 /resource:Resources/home.html,home.html \
54 /resource:Resources/Lminus.gif,Lminus.gif \
55 /resource:Resources/Lplus.gif,Lplus.gif \
56 /resource:Resources/mdoc-html-format.xsl,mdoc-html-format.xsl \
57 /resource:Resources/mdoc-html-utils.xsl,mdoc-html-utils.xsl \
58 /resource:Resources/mdoc-sections-css.xsl,mdoc-sections-css.xsl \
59 /resource:Resources/mdoc-sections.xsl,mdoc-sections.xsl \
60 /resource:Resources/mono-ecma-css.xsl,mono-ecma-css.xsl \
61 /resource:Resources/mono-ecma-impl.xsl,mono-ecma-impl.xsl \
62 /resource:Resources/mono-ecma.css,mono-ecma.css \
63 /resource:Resources/mono-ecma.xsl,mono-ecma.xsl \
64 /r:ICSharpCode.SharpZipLib \
65 /r:$(corlib) \
66 /r:System.dll \
67 /r:System.Core.dll \
68 /r:System.Web \
69 /r:System.Web.Services \
70 /r:System.Xml.dll
72 include ../../build/library.make
74 $(the_lib): Makefile $(RESOURCE_FILES)
76 all-local: $(the_lib).config
78 $(the_lib).config: Makefile
79 sed 's,@monodoc_refdir@,$(mono_libdir)/monodoc,g' monodoc.dll.config.in > $@
81 test: Test/man-provider-test.exe
83 run-test-local: check-man-provider
85 run-test-update: check-man-provider-update
87 Test/man-provider-test.exe: Test/man-provider-test.cs $(the_lib)
88 $(CSCOMPILE) -target:exe -out:$@ $< /r:$(the_lib)
90 my_mono = \
91 MONO_REGISTRY_PATH="$(HOME)/.mono/registry" \
92 $(TEST_RUNTIME) \
93 $(RUNTIME_FLAGS)
95 check-man-provider: Test/man-provider-test.exe
96 $(my_mono) $< Test/man-test1.1 | diff - Test/man-test1.html
97 $(my_mono) $< Test/man-test2.1 | diff - Test/man-test2.html
98 $(my_mono) $< Test/man-test3.1 | diff - Test/man-test3.html
99 $(my_mono) $< Test/man-test4.1 | diff - Test/man-test4.html
101 check-man-provider-update: Test/man-provider-test.exe
102 $(my_mono) $< Test/man-test1.1 > Test/man-test1.html
103 $(my_mono) $< Test/man-test2.1 > Test/man-test2.html
104 $(my_mono) $< Test/man-test3.1 > Test/man-test3.html
105 $(my_mono) $< Test/man-test4.1 > Test/man-test4.html
107 clean-local: cleanup
109 cleanup:
110 -rm -f Test/man-provider-test.exe*