Makefile.am 3.14 KB
Newer Older
Thomas Moulard's avatar
Thomas Moulard committed
1
include $(top_srcdir)/build-aux/init.mk
Thomas Moulard's avatar
Thomas Moulard committed
2
include $(top_srcdir)/build-aux/asciidoc.mk
3

Thomas Moulard's avatar
Thomas Moulard committed
4
5
6
EXTRA_DIST +=						\
		$(top_srcdir)/scripts/packageDep	\
		packages.sh missing.html.in
florent's avatar
florent committed
7

Thomas Moulard's avatar
Thomas Moulard committed
8
9
10
11
# Generate package dependencies diagram.
graphDep.dot: $(top_builddir)/config.status
	$(top_srcdir)/scripts/packageDep -o graphDep.dot $(PKG_LIST)
	sed -i 's/size = "12,15"//' graphDep.dot
12

Thomas Moulard's avatar
Thomas Moulard committed
13
14
15
images/dependencies.png: graphDep.dot
	mkdir -p images
	dot -o images/dependencies.png -Tpng graphDep.dot
16

Thomas Moulard's avatar
Thomas Moulard committed
17
18
CLEANFILES +=				\
	graphDep.dot			\
Thomas Moulard's avatar
Thomas Moulard committed
19
	images/dependencies.png
20

florent's avatar
florent committed
21

Thomas Moulard's avatar
Thomas Moulard committed
22
23
24
25
26
27
# Generate pages for missing packages.
%-missing.html: $(top_builddir)/config.status
	$(top_srcdir)/doc/packages.sh		\
	$(top_srcdir)/doc/missing.html.in 	\
	`echo "$@" | sed 's/-missing.html//g'`  \
	> $@
28

Thomas Moulard's avatar
Thomas Moulard committed
29
30
BUILT_SOURCES = $(MISSING_FILES)
CLEANFILES += $(MISSING_FILES)
31

Thomas Moulard's avatar
Thomas Moulard committed
32
33
34
35
36
37
38
39
40
41
# Graph dependency.
# Replace the special tag ``@MAP@'' by the dot generated map.
graphDep.html: graphDep.dot
	dot -o graphDep.html -Tcmapx graphDep.dot

graph-dependency.html: graph-dependency.html.in graphDep.html
	MAP=`tr -d '\n' < graphDep.html`; \
	sed "s|@MAP@|$$MAP|" "$<" > $@

EXTRA_DIST += $(DOC_EXTRA)		\
Thomas Moulard's avatar
Thomas Moulard committed
42
	graph-dependency.html.in
Thomas Moulard's avatar
Thomas Moulard committed
43

Thomas Moulard's avatar
Thomas Moulard committed
44
45
46
47
48
49
50
51
# Distribute all files (HTML, images, videos...).
DOC_EXTRA =				\
	custom.css			\
	doxygen.css			\
	figures/archi.png		\
	figures/kppInterfaceWalk.png	\
	movies/passing-under.mp4	\
	movies/whole-body.mp4		\
Thomas Moulard's avatar
Thomas Moulard committed
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
	images/dependencies.png		\
	images/film.png			\
	images/footer.jpg		\
	images/ftv2blank.png		\
	images/ftv2doc.png		\
	images/ftv2folderclosed.png	\
	images/ftv2folderopen.png	\
	images/ftv2lastnode.png		\
	images/ftv2link.png		\
	images/ftv2mlastnode.png	\
	images/ftv2mnode.png		\
	images/ftv2node.png		\
	images/ftv2plastnode.png	\
	images/ftv2pnode.png		\
	images/ftv2vertline.png		\
	images/graph_legend.png		\
	images/icons/callouts/1.png	\
	images/icons/callouts/2.png	\
	images/icons/callouts/3.png	\
	images/icons/callouts/4.png	\
	images/icons/callouts/5.png	\
	images/icons/callouts/6.png	\
	images/icons/callouts/7.png	\
	images/icons/callouts/8.png	\
	images/icons/callouts/9.png	\
	images/icons/callouts/10.png	\
	images/icons/callouts/11.png	\
	images/icons/callouts/12.png	\
	images/icons/callouts/13.png	\
	images/icons/callouts/14.png	\
	images/icons/callouts/15.png	\
	images/icons/caution.png	\
	images/icons/example.png	\
	images/icons/home.png		\
	images/icons/important.png	\
	images/icons/next.png		\
	images/icons/note.png		\
	images/icons/prev.png		\
	images/icons/tip.png		\
	images/icons/up.png		\
	images/icons/warning.png	\
93
	images/kineo.jpg		\
Thomas Moulard's avatar
Thomas Moulard committed
94
95
96
97
98
99
	images/passing-under.jpg	\
	images/tab_b.gif		\
	images/tab_l.gif		\
	images/tab_r.gif		\
	images/walk.png			\
	images/whole-body.png		\
Thomas Moulard's avatar
Thomas Moulard committed
100
	tabs.css
101

Thomas Moulard's avatar
Thomas Moulard committed
102
103
104
105
106
107
# Distribute all files (HTML, images, videos...).
DOC_EXTRA +=				\
	autotools.txt			\
	develop.txt			\
	install.txt

Thomas Moulard's avatar
Thomas Moulard committed
108
109
110
111
112
113
nobase_html_DATA =			\
	algorithm.html			\
	autotools.html			\
	corba.html			\
	develop.html			\
	doxygen.css			\
114
	graph-dependency.html		\
Thomas Moulard's avatar
Thomas Moulard committed
115
116
117
118
119
120
	index.html			\
	install.html			\
	kpp-interface.html		\
	main.html			\
	robotic-component.html		\
	tree.html
121

Thomas Moulard's avatar
Thomas Moulard committed
122
nobase_html_DATA += $(MISSING_FILES) $(DOC_EXTRA)
Thomas Moulard's avatar
Thomas Moulard committed
123
124
125
126
127
128
129

CLEANFILES +=				\
	graphDep.html			\
	install.html			\
	graph-dependency.html		\
	autotools.html			\
	develop.html