diff options
| author | claude-bot <[email protected]> | 2026-07-13 12:40:01 +0000 |
|---|---|---|
| committer | claude-bot <[email protected]> | 2026-07-13 12:40:01 +0000 |
| commit | 02fe7437413eaaf7cee46e5a1862c1fc7ac0dbba (patch) | |
| tree | 50a2f61b89ee66f9ff58b7b9167a8e5232e19e3c /doc/Makefile | |
| download | opusfile-master.tar.gz opusfile-master.zip | |
Snapshot for re3/reVC vendoring, per @lzcnt.
Source: https://github.com/xiph/opusfile (4174c26e0aaab19d01afdea0a46f7f95fdc6b3e6).
Diffstat (limited to 'doc/Makefile')
| -rw-r--r-- | doc/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile new file mode 100644 index 0000000..1ae1adc --- /dev/null +++ b/doc/Makefile @@ -0,0 +1,35 @@ +## GNU makefile for opusfile documentation. + +-include ../package_version + +all: doxygen + +doxygen: Doxyfile ../include/opusfile.h + doxygen + +pdf: doxygen + make -C latex + +clean: + $(RM) -r html + $(RM) -r latex + +distclean: clean + $(RM) Doxyfile + +.PHONY: all clean distclean doxygen pdf + +../package_version: + @if [ -x ../update_version ]; then \ + ../update_version || true; \ + elif [ ! -e $@ ]; then \ + echo 'PACKAGE_VERSION="unknown"' > $@; \ + fi + +# run autoconf-like replacements to finalize our config +Doxyfile: Doxyfile.in Makefile ../package_version + sed -e 's/@PACKAGE_NAME@/opusfile/' \ + -e 's/@PACKAGE_VERSION@/$(PACKAGE_VERSION)/' \ + -e 's/@HAVE_DOT@/yes/' \ + -e 's/@top_srcdir@/../' \ + < $< > $@ |
