~enlightenment-git/enlightenment-svn/edbus

523 by Jerome Pinot
e_dbus: autotools
1
MAINTAINERCLEANFILES = Makefile.in e_dbus_doxy_warnings.txt
278 by Vincent Torri
* fix autotools
2
559 by Vincent Torri
XML output
3
.PHONY: doc install-doc
278 by Vincent Torri
* fix autotools
4
312 by Carsten Haitzler
and fox docs too to be consistent
5
PACKAGE_DOCNAME = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-doc
6
278 by Vincent Torri
* fix autotools
7
if EFL_BUILD_DOC
8
312 by Carsten Haitzler
and fox docs too to be consistent
9
doc-clean:
559 by Vincent Torri
XML output
10
	rm -rf html/ latex/ man/ xml/ $(top_builddir)/$(PACKAGE_DOCNAME).tar*
318 by Vincent Torri
remove spaces
11
559 by Vincent Torri
XML output
12
doc-build: all
278 by Vincent Torri
* fix autotools
13
	$(efl_doxygen)
559 by Vincent Torri
XML output
14
	cp img/* html/
15
	cp img/* latex/
16
17
doc: doc-build
312 by Carsten Haitzler
and fox docs too to be consistent
18
	rm -rf $(PACKAGE_DOCNAME).tar*
19
	mkdir -p $(PACKAGE_DOCNAME)/doc
559 by Vincent Torri
XML output
20
	cp -R html/ latex/ xml/ $(PACKAGE_DOCNAME)/doc
312 by Carsten Haitzler
and fox docs too to be consistent
21
	tar cf $(PACKAGE_DOCNAME).tar $(PACKAGE_DOCNAME)/
22
	bzip2 -9 $(PACKAGE_DOCNAME).tar
23
	rm -rf $(PACKAGE_DOCNAME)/
385 by Rafael Antognolli
e_dbus: fix doc build when srcdir != builddir.
24
	mv $(PACKAGE_DOCNAME).tar.bz2 $(top_builddir)
312 by Carsten Haitzler
and fox docs too to be consistent
25
26
clean-local: doc-clean
278 by Vincent Torri
* fix autotools
27
559 by Vincent Torri
XML output
28
install-doc: doc-build
29
	install -d $(docdir)
30
	cp -R html latex man xml $(docdir)
31
32
uninstall-local:
33
	rm -rf $(docdir)/html $(docdir)/latex $(docdir)/man $(docdir)/xml
34
278 by Vincent Torri
* fix autotools
35
else
36
37
doc:
38
	@echo "Documentation not built. Run ./configure --help"
39
559 by Vincent Torri
XML output
40
install-doc: doc
41
278 by Vincent Torri
* fix autotools
42
endif
43
385 by Rafael Antognolli
e_dbus: fix doc build when srcdir != builddir.
44
EXTRA_DIST = Doxyfile.in $(wildcard images/*.*) e.css head.html foot.html