aboutsummaryrefslogtreecommitdiff
path: root/doc/Makefile.am
blob: 1605929825507e61ea06e5f5b1513983c7e458ff (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
CLEANFILES = *~ html/* html HOWTO.html
MAINTAINERCLEANFILES = Makefile.in

docfiles = \
	doc_main.doxygen \
	doc_mainpage.doxygen \
	doc_coding_standards.doxygen \
	doc_namespaces.doxygen \
	doc_directories.doxygen \
	doc_references.doxygen \
	doc_licence.doxygen \
	doc_authors.doxygen

EXTRA_DIST = doxygen.conf.in $(docfiles) HOWTO.rst

if HAVE_DOXYGEN

doxygen : doxygen.conf $(top_srcdir)/paludis/*.cc $(top_srcdir)/paludis/*.hh \
		$(docfiles)
	nice doxygen doxygen.conf

else

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

endif

HOWTO.html : HOWTO.rst
	rst2html.py $? > $@

upload-howto : HOWTO.html
	scp $? shell.berlios.de:/home/groups/paludis/htdocs/