From 59c58ea26c61d92d257b7a5971bcd3bdb235177f Mon Sep 17 00:00:00 2001 From: Petri Lehtinen Date: Sun, 25 Oct 2009 00:18:03 +0300 Subject: [PATCH 1/1] Build documentation in distcheck-hook This is to check that all the documentation files are distributed before releasing. --- Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile.am b/Makefile.am index 01b958c..e64f397 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,2 +1,7 @@ EXTRA_DIST = CHANGES LICENSE README.rst SUBDIRS = doc src test + +distcheck-hook: + sphinx-build -b html -W \ + $(distdir)/doc \ + $(distdir)/_build/doc/.build/html -- 2.1.4