Disable SMP on arm until #683409 is fixed.
[mono-project/dkf.git] / docs / Makefile.am
blobc0450027cfd9498e0990bdfe2dd93d483c5329a5
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         assembly-bundle         \
18         check-exports           \
19         check-coverage          \
20         convert.cs              \
21         current-api             \
22         deploy                  \
23         docs.make               \
24         documented              \
25         embedded-api            \
26         exceptions              \
27         exdoc                   \
28         file-share-modes        \
29         gc-issues               \
30         gc-variables-in-c       \
31         glossary.txt            \
32         ignore                  \
33         internal-calls          \
34         ir-desc                 \
35         jit-imt                 \
36         jit-thoughts            \
37         jit-trampolines         \
38         local-regalloc.txt      \
39         magic.diff              \
40         mini-doc.txt            \
41         mono-api-metadata.html  \
42         mono-file-formats.config\
43         mono-file-formats.source\
44         mono_handle_d           \
45         mono-tools.config       \
46         mono-tools.source       \
47         monoapi.source          \
48         new-regalloc            \
49         object-layout           \
50         opcode-decomp.txt       \
51         precise-gc              \
52         produce-lists           \
53         public                  \
54         public-api              \
55         README                  \
56         release-notes-1.0.html  \
57         remoting                \
58         ssapre.txt              \
59         stack-alignment         \
60         stack-overflow.txt      \
61         threading               \
62         toc.xml                 \
63         TODO                    \
64         tree-mover.txt          \
65         unmanaged-calls 
67 dist-hook:
68         $(mkdir_p)  $(distdir)/sources
69         $(mkdir_p)  $(distdir)/svgs
70         $(mkdir_p)  $(distdir)/HtmlAgilityPack
71         cp sources/*  $(distdir)/sources
72         cp svgs/*     $(distdir)/svgs
73         cp HtmlAgilityPack/*     $(distdir)/HtmlAgilityPack
75 clean-local:
76         -rm -Rf $(srcdir)/html
77         -rm -f $(srcdir)/deploy/* $(srcdir)/convert.exe* $(srcdir)/AgilityPack.dll*
78         -cd $(srcdir) && rm -f $(ASSEMBLED_DOCS)
80 monoapi.zip: monoapi.tree
81         @test -f $@ || { rm -f $(srcdir)/monoapi.tree && $(MAKE) monoapi.tree; }
82 monoapi.tree: docs.make Makefile.am toc.xml $(srcdir)/deploy/.stamp perms
83         cd $(srcdir) && cp -f api-style.css deploy
84         cd $(srcdir) && $(MAKE) -f docs.make topdir=$(mcs_topdir_from_srcdir) $@
86 mono-tools.zip: mono-tools.tree
87         @test -f $@ || { rm -f $(srcdir)/mono-tools.tree && $(MAKE) mono-tools.tree; }
88 mono-tools.tree: docs.make Makefile.am $(srcdir)/deploy/.stamp perms
89         cd $(srcdir) && $(MAKE) -f docs.make topdir=$(mcs_topdir_from_srcdir) $@
91 mono-file-formats.zip: mono-file-formats.tree perms
92         @test -f $@ || { rm -f $(srcdir)/mono-file-formats.tree && $(MAKE) mono-file-formats.tree; }
93 mono-file-formats.tree: docs.make Makefile.am $(srcdir)/deploy/.stamp
94         cd $(srcdir) && $(MAKE) -f docs.make topdir=$(mcs_topdir_from_srcdir) $@
96 $(srcdir)/deploy/.stamp: convert.exe Makefile.am perms
97         $(mkdir_p) $(srcdir)/html
98         runtimedir=`cd ../runtime && pwd`; export runtimedir; \
99         cd $(srcdir) && MONO_PATH=$(mcs_topdir_from_srcdir)/class/lib/net_2_0 perl ./exdoc -h . ../mono/*/*.c
100         touch $@
102 extract: $(srcdir)/deploy/.stamp
104 convert.exe: convert.cs AgilityPack.dll perms
105         cd $(srcdir) && $(MAKE) PROFILE=net_2_0 -f docs.make topdir=$(mcs_topdir_from_srcdir) convert.exe
107 AgilityPack.dll: perms
108         cd $(srcdir) && $(MAKE) PROFILE=net_2_0 -f docs.make topdir=$(mcs_topdir_from_srcdir) AgilityPack.dll
110 .PHONY: perms
111 perms:
112         -@test -w $(srcdir) || chmod a+w $(srcdir)