annotate src/opusfile-0.9/doc/Makefile @ 83:ae30d91d2ffe

Replace these with versions built using an older toolset (so as to avoid ABI compatibilities when linking on Ubuntu 14.04 for packaging purposes)
author Chris Cannam
date Fri, 07 Feb 2020 11:51:13 +0000
parents 7aeed7906520
children
rev   line source
Chris@69 1 ## GNU makefile for opusfile documentation.
Chris@69 2
Chris@69 3 -include ../package_version
Chris@69 4
Chris@69 5 all: doxygen
Chris@69 6
Chris@69 7 doxygen: Doxyfile ../include/opusfile.h
Chris@69 8 doxygen
Chris@69 9
Chris@69 10 pdf: doxygen
Chris@69 11 make -C latex
Chris@69 12
Chris@69 13 clean:
Chris@69 14 $(RM) -r html
Chris@69 15 $(RM) -r latex
Chris@69 16
Chris@69 17 distclean: clean
Chris@69 18 $(RM) Doxyfile
Chris@69 19
Chris@69 20 .PHONY: all clean distclean doxygen pdf
Chris@69 21
Chris@69 22 ../package_version:
Chris@69 23 @if [ -x ../update_version ]; then \
Chris@69 24 ../update_version || true; \
Chris@69 25 elif [ ! -e $@ ]; then \
Chris@69 26 echo 'PACKAGE_VERSION="unknown"' > $@; \
Chris@69 27 fi
Chris@69 28
Chris@69 29 # run autoconf-like replacements to finalize our config
Chris@69 30 Doxyfile: Doxyfile.in Makefile ../package_version
Chris@69 31 sed -e 's/@PACKAGE_NAME@/opusfile/' \
Chris@69 32 -e 's/@PACKAGE_VERSION@/$(PACKAGE_VERSION)/' \
Chris@69 33 -e 's/@top_srcdir@/../' \
Chris@69 34 < $< > $@