Commit bed73602 authored by Ralph Giles's avatar Ralph Giles
Browse files

Fix the doc makefile.

The autoconf build replaced the static Doxyfile with a
template. In the autoconf build, the config.status script applies
substitutions to generate the actual Doxyfile. This made the generic
doc/Makefile non-functional.

Apply similar substitutions directly with the makefile so we can
still build documentation outside the context of the autoconf build.

Also add a 'distclean' target to remove the generated Doxyfile.
parent e7661191
......@@ -12,4 +12,15 @@ clean:
$(RM) -r html
$(RM) -r latex
.PHONY: all clean doxygen
distclean: clean
$(RM) Doxyfile
.PHONY: all clean distclean doxygen pdf
# run autoconf-like replacements to finalize our config
GIT_VERSION := $(shell /bin/sh
Doxyfile: Makefile
cat $< | sed -e 's/@PACKAGE@/opusfile/' \
-e 's/@VERSION@/$(GIT_VERSION)/' \
-e 's/@top_srcdir@/../' \
> $@
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment