summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMike Blumenkrantz <m.blumenkran@samsung.com>2013-07-25 09:46:14 +0100
committerMike Blumenkrantz <zmike@samsung.com>2014-01-14 20:22:01 -0500
commite3c85ec4da64ebcfb29eea0992466730e3e31995 (patch)
treed576c1ecc20985ee46a4a4d75a347890814d80ed /doc
parent0bd3f7d13c64686f6aee19547d774438e82ce9d1 (diff)
feature: use non-recursive makefiles for entire build system
this is the correct way to write a build system. one toplevel Makefile.am with the rest of the directories having include Makefile.mk files. additional authors: Iván Briano <ivan.briano@intel.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/Doxyfile.in12
-rw-r--r--doc/Makefile.am42
-rw-r--r--doc/Makefile.mk47
3 files changed, 53 insertions, 48 deletions
diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in
index 20d2d3e81..11359d033 100644
--- a/doc/Doxyfile.in
+++ b/doc/Doxyfile.in
@@ -1,15 +1,15 @@
1PROJECT_NAME = Enlightenment 1PROJECT_NAME = Enlightenment
2PROJECT_NUMBER = 2PROJECT_NUMBER =
3OUTPUT_DIRECTORY = . 3OUTPUT_DIRECTORY = @builddir@/doc
4INPUT = @builddir@/e.dox @top_srcdir@/src 4INPUT = @builddir@/doc/e.dox @top_srcdir@/src
5IMAGE_PATH = @srcdir@/img 5IMAGE_PATH = @srcdir@/doc/img
6OUTPUT_LANGUAGE = English 6OUTPUT_LANGUAGE = English
7GENERATE_HTML = YES 7GENERATE_HTML = YES
8HTML_OUTPUT = html 8HTML_OUTPUT = html
9HTML_FILE_EXTENSION = .html 9HTML_FILE_EXTENSION = .html
10HTML_HEADER = @srcdir@/head.html 10HTML_HEADER = @srcdir@/doc/head.html
11HTML_FOOTER = @srcdir@/foot.html 11HTML_FOOTER = @srcdir@/doc/foot.html
12HTML_STYLESHEET = @srcdir@/e.css 12HTML_STYLESHEET = @srcdir@/doc/e.css
13ENUM_VALUES_PER_LINE = 1 13ENUM_VALUES_PER_LINE = 1
14GENERATE_HTMLHELP = NO 14GENERATE_HTMLHELP = NO
15CHM_FILE = 15CHM_FILE =
diff --git a/doc/Makefile.am b/doc/Makefile.am
deleted file mode 100644
index 9c8631ea9..000000000
--- a/doc/Makefile.am
+++ /dev/null
@@ -1,42 +0,0 @@
1MAINTAINERCLEANFILES = Makefile.in e.dox
2
3.PHONY: doc
4
5PACKAGE_DOCNAME = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-doc
6
7if EFL_BUILD_DOC
8
9doc-clean:
10 rm -rf html/ latex/ man/ xml/ $(top_builddir)/$(PACKAGE_DOCNAME).tar*
11
12doc: all doc-clean
13 $(efl_doxygen)
14 cp $(srcdir)/img/* html/
15 rm -rf $(PACKAGE_DOCNAME).tar*
16 $(MKDIR_P) $(PACKAGE_DOCNAME)/doc
17 cp -R html/ latex/ man/ $(PACKAGE_DOCNAME)/doc
18 tar cf $(PACKAGE_DOCNAME).tar $(PACKAGE_DOCNAME)/
19 bzip2 -9 $(PACKAGE_DOCNAME).tar
20 rm -rf $(PACKAGE_DOCNAME)/
21 mv $(PACKAGE_DOCNAME).tar.bz2 $(top_builddir)
22 @echo "Documentation Package: $(top_builddir)/$(PACKAGE_DOCNAME).tar.bz2"
23
24clean-local: doc-clean
25
26else
27
28doc:
29 @echo "Documentation not built. Run ./configure --help"
30
31endif
32
33filesdir = $(datadir)/enlightenment/doc
34files_DATA = \
35documentation.html \
36illume2.html \
37FDO.txt \
38cache.txt \
39enlightenment.png \
40illume2.png
41
42EXTRA_DIST = $(files_DATA) Doxyfile.in $(wildcard img/*.*) e.css head.html foot.html e.dox.in
diff --git a/doc/Makefile.mk b/doc/Makefile.mk
new file mode 100644
index 000000000..fd49b872e
--- /dev/null
+++ b/doc/Makefile.mk
@@ -0,0 +1,47 @@
1MAINTAINERCLEANFILES += doc/e.dox
2
3PHONIES += doc doc-clean
4
5PACKAGE_DOCNAME = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-doc
6
7if EFL_BUILD_DOC
8
9doc-clean:
10 rm -rf doc/html/ doc/latex/ doc/man/ doc/xml/ $(top_builddir)/$(PACKAGE_DOCNAME).tar*
11
12doc: all doc-clean
13 @echo "entering doc/"
14 $(efl_doxygen) doc/Doxyfile
15 cp $(top_srcdir)/doc/img/* doc/html/
16 rm -rf $(PACKAGE_DOCNAME).tar*
17 $(MKDIR_P) $(PACKAGE_DOCNAME)/doc
18 cp -R doc/html/ doc/latex/ doc/man/ $(PACKAGE_DOCNAME)/doc
19 tar cf $(PACKAGE_DOCNAME).tar $(PACKAGE_DOCNAME)/
20 bzip2 -9 $(PACKAGE_DOCNAME).tar
21 rm -rf $(PACKAGE_DOCNAME)/
22 @echo "Documentation Package: $(top_builddir)/$(PACKAGE_DOCNAME).tar.bz2"
23
24else
25
26doc:
27 @echo "Documentation not built. Run ./configure --help"
28
29endif
30
31docfilesdir = $(datadir)/enlightenment/doc
32docfiles_DATA = \
33doc/documentation.html \
34doc/illume2.html \
35doc/FDO.txt \
36doc/cache.txt \
37doc/enlightenment.png \
38doc/illume2.png
39
40EXTRA_DIST += \
41$(docfiles_DATA) \
42doc/Doxyfile.in \
43$(wildcard doc/img/*.*) \
44doc/e.css \
45doc/head.html \
46doc/foot.html \
47doc/e.dox.in