Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Makefile.am « docs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f9d4ac6b51058a104070ae56ca2ba934406cf254 (plain)
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
sourcesdir = $(prefix)/lib/monodoc/sources

sources_DATA = \
	mono-file-formats.source \
	mono-tools.source \
	monoapi.source \
	$(ASSEMBLED_DOCS)

ASSEMBLED_DOCS = \
	mono-file-formats.tree mono-file-formats.zip  \
	mono-tools.tree mono-tools.zip                \
	monoapi.tree monoapi.zip

EXTRA_DIST = \
	abc-removal.txt		\
	api-style.css		\
	check-exports		\
	check-coverage		\
	convert.cs		\
	deploy			\
	docs.make		\
	embedded-api		\
	exdoc			\
	file-share-modes	\
	gc-issues		\
	gc-variables-in-c	\
	glossary.txt		\
	ignore			\
	internal-calls		\
	ir-desc			\
	jit-imt			\
	jit-thoughts		\
	jit-trampolines		\
	mini-doc.txt		\
	mono-api-metadata.html	\
	mono-file-formats.config\
	mono-file-formats.source\
	mono-tools.config       \
	mono-tools.source       \
	monoapi.source		\
	object-layout		\
	precise-gc		\
	produce-lists		\
	README			\
	remoting		\
	ssapre.txt		\
	stack-overflow.txt	\
	threading		\
	toc.xml			\
	TODO			\
	unmanaged-calls	

-include $(mcs_topdir)/build/config.make

CLASS=$(mcs_topdir)/class/lib/$(DEFAULT_PROFILE)

dist-hook:
	$(mkdir_p)  $(distdir)/sources
	$(mkdir_p)  $(distdir)/svgs
	$(mkdir_p)  $(distdir)/HtmlAgilityPack
	cp sources/*  $(distdir)/sources
	cp svgs/*     $(distdir)/svgs
	cp HtmlAgilityPack/*     $(distdir)/HtmlAgilityPack

clean-local:
	-rm -Rf html
	-rm -f deploy/* convert.exe* AgilityPack.dll*
	-rm -f $(ASSEMBLED_DOCS)

TOOL_MAKE=$(MAKE) -f $(srcdir)/docs.make topdir=$(srcdir)/../mcs srcdir=$(srcdir)

monoapi.zip: monoapi.tree

monoapi.tree: $(srcdir)/docs.make $(srcdir)/Makefile.am $(srcdir)/toc.xml $(srcdir)/deploy/.stamp 
	-mkdir -p deploy
	cp -f $(srcdir)/api-style.css deploy
	$(TOOL_MAKE) $@

mono-tools.zip: mono-tools.tree

mono-tools.tree: $(srcdir)/docs.make Makefile.am deploy/.stamp 
	$(TOOL_MAKE) $@

mono-file-formats.zip: mono-file-formats.tree 

mono-file-formats.tree: $(srcdir)/docs.make $(srcdir)/Makefile.am $(srcdir)/deploy/.stamp
	$(TOOL_MAKE) $@

deploy/.stamp: convert.exe Makefile.am 
	$(mkdir_p) html
	runtimedir=`cd ../runtime && pwd`; export runtimedir; \
	MONO_PATH=$(CLASS) perl $(srcdir)/exdoc -h $(srcdir) -t . $(srcdir)/../mono/*/*.c
	touch $@

extract: deploy/.stamp

convert.exe: convert.cs AgilityPack.dll
	$(TOOL_MAKE) convert.exe

AgilityPack.dll: 
	$(TOOL_MAKE) AgilityPack.dll