Do not zero localalloc if not asked. (#16881)
[mono-project.git] / docs / Makefile.am
blob61faaeae6049ad0f17dfce9cc32c4b7dc0363692
1 sourcesdir = $(prefix)/lib/monodoc/sources
3 sources_DATA = \
4         mono-file-formats.source \
5         mono-tools.source \
6         monoapi.source \
7         $(ASSEMBLED_DOCS)
9 ASSEMBLED_DOCS = \
10         mono-file-formats.tree mono-file-formats.zip  \
11         mono-tools.tree mono-tools.zip                \
12         monoapi.tree monoapi.zip
14 EXTRA_DIST = \
15         abc-removal.txt         \
16         api-style.css           \
17         check-exports           \
18         check-coverage          \
19         convert.cs              \
20         deploy                  \
21         docs.make               \
22         embedded-api            \
23         exdoc                   \
24         file-share-modes        \
25         gc-issues               \
26         gc-variables-in-c       \
27         glossary.txt            \
28         ignore                  \
29         internal-calls          \
30         ir-desc                 \
31         jit-imt                 \
32         jit-thoughts            \
33         jit-trampolines         \
34         mini-doc.txt            \
35         mono-api-metadata.html  \
36         mono-file-formats.config\
37         mono-file-formats.source\
38         mono-tools.config       \
39         mono-tools.source       \
40         monoapi.source          \
41         object-layout           \
42         precise-gc              \
43         produce-lists           \
44         README                  \
45         remoting                \
46         ssapre.txt              \
47         stack-overflow.txt      \
48         threading               \
49         toc.xml                 \
50         TODO                    \
51         unmanaged-calls 
53 -include $(mcs_topdir)/build/config.make
55 DOC_PROFILE:=net_4_x
56 CLASS=$(mcs_topdir)/class/lib/$(DOC_PROFILE)
58 dist-hook:
59         $(mkdir_p)  $(distdir)/sources
60         $(mkdir_p)  $(distdir)/svgs
61         $(mkdir_p)  $(distdir)/HtmlAgilityPack
62         cp sources/*  $(distdir)/sources
63         cp svgs/*     $(distdir)/svgs
64         cp HtmlAgilityPack/*     $(distdir)/HtmlAgilityPack
66 clean-local:
67         -rm -Rf html
68         -rm -Rf doxygen-output
69         -rm -f deploy/* convert.exe* AgilityPack.dll*
70         -rm -f $(ASSEMBLED_DOCS)
72 TOOL_MAKE=$(MAKE) -f $(srcdir)/docs.make topdir=$(srcdir)/../mcs srcdir=$(srcdir) PROFILE=$(DOC_PROFILE)
74 monoapi.zip: monoapi.tree
76 monoapi.tree: $(srcdir)/docs.make $(srcdir)/Makefile.am $(srcdir)/toc.xml $(srcdir)/deploy/.stamp 
77         -mkdir -p deploy
78         cp -f $(srcdir)/api-style.css deploy
79         $(TOOL_MAKE) $@
81 mono-tools.zip: mono-tools.tree
83 mono-tools.tree: $(srcdir)/docs.make Makefile.am deploy/.stamp 
84         $(TOOL_MAKE) $@
86 mono-file-formats.zip: mono-file-formats.tree 
88 mono-file-formats.tree: $(srcdir)/docs.make $(srcdir)/Makefile.am $(srcdir)/deploy/.stamp
89         $(TOOL_MAKE) $@
91 deploy/.stamp: convert.exe Makefile.am exdoc
92         $(mkdir_p) html
93         runtimedir=`cd ../runtime && pwd`; export runtimedir; \
94         MONO_PATH=$(CLASS) perl $(srcdir)/exdoc -h $(srcdir) -t . $(srcdir)/../mono/*/*.c
95         touch $@
97 extract: deploy/.stamp
99 convert.exe: convert.cs AgilityPack.dll
100         $(TOOL_MAKE) convert.exe
102 AgilityPack.dll: 
103         $(TOOL_MAKE) AgilityPack.dll
105 doxygen:
106         doxygen doxyfile
108 .PHONY: doxygen