aboutsummaryrefslogtreecommitdiff
path: root/doc/api/Makefile.am
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-10-30 01:05:59 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-10-30 01:05:59 +0000
commit93532ca064860f11e028460ccba316421115382b (patch)
tree8d4016a78fb814ed5d5e15dafd641aae89f1a759 /doc/api/Makefile.am
parentbeec73d4d10017b24d09a5cf7254db7dbb4c9804 (diff)
downloadpaludis-93532ca064860f11e028460ccba316421115382b.tar.gz
paludis-93532ca064860f11e028460ccba316421115382b.tar.xz
If --enable-htmltidy, use htmltidy to verify generated documentation. Fix current validation problems. Fixes: ticket:420
Diffstat (limited to 'doc/api/Makefile.am')
-rw-r--r--doc/api/Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/api/Makefile.am b/doc/api/Makefile.am
index a58620a8a..cb7b37786 100644
--- a/doc/api/Makefile.am
+++ b/doc/api/Makefile.am
@@ -17,6 +17,13 @@ paludisapihtmldir = $(htmldir)/api
paludisapihtml_DATA = \
index.html
+if HAVE_HTMLTIDY
+
+TESTS = $(paludisapihtml_DATA)
+TESTS_ENVIRONMENT = bash $(top_srcdir)/doc/htmltidy.bash
+
+endif
+
index.html : header.html.part $(srcdir)/index.html.part footer.html.part
cat header.html.part $(srcdir)/index.html.part footer.html.part > $@