[MERGE] Make 'make check' build docs

Andrew Bennetts andrew at canonical.com
Thu Apr 12 14:06:55 BST 2007


This trivial bundle makes 'make check' build docs.  This will make sure that
broken doc changes can't get merged.

The diff is utterly trivial, I'm just submitting it for review in case people
have an opinion on the small change in policy this implies.

If we wanted to, we could even start passing --strict to rst2html.py.

-Andrew.

-------------- next part --------------
# Bazaar revision bundle v0.9
#
# message:
#   Make 'make check' depend on docs building without error.
# committer: Andrew Bennetts <andrew.bennetts at canonical.com>
# date: Thu 2007-04-12 23:03:25.259000063 +1000

=== modified file Makefile
--- Makefile
+++ Makefile
@@ -1,6 +1,6 @@
 all:
 
-check:
+check: docs
 	python -Werror ./bzr selftest -v $(tests)
 	@echo "Running all tests with no locale."
 	LC_CTYPE= LANG=C LC_ALL= ./bzr selftest -v $(tests)

=== modified directory  // last-changed:andrew.bennetts at canonical.com-200704121
... 30325-56c9kdg18lvpj02g
# revision id: andrew.bennetts at canonical.com-20070412130325-56c9kdg18lvpj02g
# sha1: cb591b122c0e8c0f5ad6c538ff30745085fd0240
# inventory sha1: 77cfea6931b6e7ad070cfe01676400d7b9fe0704
# parent ids:
#   pqm at pqm.ubuntu.com-20070412095902-nen3rbeeppe9yrz0
# base id: pqm at pqm.ubuntu.com-20070412095902-nen3rbeeppe9yrz0
# properties:
#   branch-nick: check-makes-docs



More information about the bazaar mailing list