Make the test target depend on the build.

The test target can only be run after a build has taken place,
otherwise it reports that there's nothing to test:

Result: NOTESTS

This change makes the test target depend on the all target which
ensures the code is built prior to running the tests.
Break the ChangeLog generation up.

This used to be split over multiple lines when it was in the Makefile,
but I concatenated it by mistake when bringing it across to here.
Add missing brackets in AC_INIT.

This was suggested by autoupdate.
Add an internal script for generating HTML docs.

This script isn't intended for distribution, but I wanted to put it
somewhere it wouldn't get lost. It can be run after the manual pages
have been built to generate HTML versions suitable for putting on the
website.