[go: up one dir, main page]

Menu

[ca9bc2]: / doc / Makefile.am  Maximize  Restore  History

Download this file

83 lines (70 with data), 2.6 kB

 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
# rmol doc sub-directory
include $(top_srcdir)/doc/local/sources.mk
include $(top_srcdir)/doc/tutorial/sources.mk
include $(top_srcdir)/doc/tutorial/src/sources.mk
# RMOL
include $(top_srcdir)/rmol/basic/sources.mk
include $(top_srcdir)/rmol/bom/sources.mk
include $(top_srcdir)/rmol/factory/sources.mk
include $(top_srcdir)/rmol/command/sources.mk
include $(top_srcdir)/rmol/service/sources.mk
include $(top_srcdir)/rmol/core/sources.mk
include $(top_srcdir)/rmol/batches/sources.mk
SUBDIRS = images tutorial local
docdir = @docdir@
html_tarname = @PACKAGE_TARNAME@-doc-@PACKAGE_VERSION@
pdf_tarname = @PACKAGE_TARNAME@-pdf-@PACKAGE_VERSION@
noinst_DATA =
EXTRA_DIST = $(noinst_DATA)
# Targets
all-local: html-local
html-local: html/index.html
html/index.html: doxygen_html.cfg \
$(doc_local_sources) $(html_local_sources) \
$(doc_tutorial_sources) $(cpp_tutorial_sources) \
$(rmol_service_h_sources) $(rmol_service_cc_sources) \
$(rmol_batches_h_sources) $(rmol_batches_cc_sources) \
$(rmol_bas_h_sources) $(rmol_bas_cc_sources) \
$(rmol_bom_h_sources) $(rmol_bom_cc_sources) \
$(rmol_fac_h_sources) $(rmol_fac_cc_sources) \
$(rmol_cmd_h_sources) $(rmol_cmd_cc_sources) \
$(rmol_svc_h_sources) $(rmol_svc_cc_sources)
doxygen $<; \
if test -d html; then \
cp $(srcdir)/images/rmol_logo.png html; \
cp $(srcdir)/images/sfx_logo.png html; \
cp $(srcdir)/images/favicon.ico html; \
fi
dist-html: html-local
cp -a $(top_builddir)/doc/html $(top_builddir)/$(html_tarname)
tar chof - $(top_builddir)/$(html_tarname) | \
gzip --best -c > $(top_builddir)/$(html_tarname).tar.gz
tar chof - $(top_builddir)/$(html_tarname) | \
bzip2 -9 -c > $(top_builddir)/$(html_tarname).tar.bz2
rm -rf $(top_builddir)/$(html_tarname)
dist-pdf: html-local
cp -a $(top_builddir)/doc/latex $(top_builddir)/$(pdf_tarname)
tar chof - $(top_builddir)/$(pdf_tarname) | \
gzip --best -c > $(top_builddir)/$(pdf_tarname).tar.gz
tar chof - $(top_builddir)/$(pdf_tarname) | \
bzip2 -9 -c > $(top_builddir)/$(pdf_tarname).tar.bz2
rm -rf $(top_builddir)/$(pdf_tarname)
install-data-local: html-local
$(mkinstalldirs) $(DESTDIR)$(docdir)
if test -d html; then \
$(mkinstalldirs) $(DESTDIR)$(docdir)/html; \
for f in html/*; do \
$(INSTALL_DATA) $$f $(DESTDIR)$(docdir)/html; \
done \
fi
$(mkinstalldirs) $(DESTDIR)$(docdir)
if test -d latex; then \
$(mkinstalldirs) $(DESTDIR)$(docdir)/latex; \
for f in latex/*; do \
$(INSTALL_DATA) $$f $(DESTDIR)$(docdir)/latex; \
done \
fi
uninstall-local:
rm -rf $(DESTDIR)$(docdir)
clean-local:
rm -rf html latex *.log *.tag