Fix dependency loop in the specification.
authorRalph Giles <giles@thaumas.net>
Sat, 4 Jul 2020 00:02:26 +0000 (17:02 -0700)
committerRalph Giles <giles@thaumas.net>
Sat, 4 Jul 2020 01:43:33 +0000 (18:43 -0700)
commit96f750a57b9235aa7674ec1a529952f9867dd559
tree236e1c3fd8433a84b8b4013ea7b47368456e6c69
parent6b30b1f651e93488dd8f56962f509687d4c150d1
Fix dependency loop in the specification.

Building the html version of the Vorbis format specification
creates a series of image files containing figures and rendered
equations. Previously we were treating these as part of the
static documentation, since we keep a copy of the spec in
the repository.

Hopever, since the static images were listed as dependencies
of the specification document (as the not-generated ones are)
rebuilding the spec necessarily rebuilt them as well, which
meant the spec would always be considered out of date and
rebuilt needlessly.

Instead, split the static image files from the set which
are generated as part of the specification build process,
and only mark dependence on the former.

This allows us to drop the inconsistent DISTCLEAN line which
was working around the problem of always needing to rebuild
the spec, even when it was included in the distribution.

Signed-off-by: Mark Harris <mark.hsj@gmail.com>
doc/Makefile.am