aboutsummaryrefslogtreecommitdiff
path: root/doc/api/cplusplus/Makefile.am
blob: 547992c96801cf09f2b6be8be597e6df420590e2 (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
SUBDIRS = examples .

if HAVE_DOXYGEN_TAGS

tagfiles = \
	libstdc++.tag \
	libwrapiter.tag

libstdc++.tag :
	wget -O $@ http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag

libwrapiter.tag :
	wget -O $@ http://libwrapiter.pioto.org/libwrapiter.tag

endif

doxygen_files = \
	groups.doxygen \
	main_page.doxygen \
	namespaces.doxygen \
	references.doxygen

EXTRA_DIST = doxygen.conf.in $(doxygen_files)
CLEANFILES = *~ doxygen/* paludis.tag

MAINTAINERCLEANFILES = Makefile.in doxygen.conf $(tagfiles)

if HAVE_DOXYGEN

doxygen : doxygen.conf $(doxygen_files) $(tagfiles)
	doxygen doxygen.conf

else

doxygen :
	@echo "You don't have doxygen installed!"
	exit 1

endif

built-sources : $(BUILT_SOURCES)
	for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s built-sources || exit 1 ; done

distcheck-deps : $(DISTCHECK_DEPS) distcheck-deps-subdirs

distcheck-deps-subdirs :
	for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s distcheck-deps || exit 1 ; done

clean-local :
	rm -fr doxygen/

htmldocs : htmldocs-subdirs

htmldocs-subdirs :
	for s in $(SUBDIRS) . ; do if test x$$s = x. ; then $(MAKE) htmldocs-local || exit 1 ; \
	    else $(MAKE) -C $$s htmldocs || exit 1 ; fi ; done

htmldocs-local : $(paludishtmlapicplusplus_DATA)