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

docfiles = \
	doc_main.doxygen \
	doc_mainpage.doxygen \
	doc_coding_standards.doxygen \
	doc_namespaces.doxygen \
	doc_references.doxygen \
	doc_licence.doxygen \
	doc_authors.doxygen \
	doc_bootstrap_howto.doxygen \
	doc_changelog.doxygen \
	doc_portage_differences.doxygen \
	doc_news.doxygen \
	doc_security_advisories.doxygen \
	doc_configuration_files.doxygen \
	doc_migration_howto.doxygen \
	doc_known_issues.doxygen

EXTRA_DIST = doxygen.conf.in header.html footer.html paludis.css $(docfiles)

if HAVE_DOXYGEN

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

else

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

endif

clean-local :
	mkdir -p html
	touch html/dummy
	find html/ -type f | grep -v '\.svn' | xargs rm

maintainer-clean-local :
	mkdir -p html
	touch html/dummy
	find html/ -type f | grep -v '\.svn' | xargs rm

upload-homepage : doxygen
	cd `readlink -f $(top_srcdir)/doc/html` && tar jc ./ | \
		ssh shell.berlios.de tar vjx -C /home/groups/paludis/htdocs/