Mercurial > hg > sv-dependency-builds
comparison src/opusfile-0.9/doc/Makefile @ 69:7aeed7906520
Add Opus sources and macOS builds
author | Chris Cannam |
---|---|
date | Wed, 23 Jan 2019 13:48:08 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
68:85d5306e114e | 69:7aeed7906520 |
---|---|
1 ## GNU makefile for opusfile documentation. | |
2 | |
3 -include ../package_version | |
4 | |
5 all: doxygen | |
6 | |
7 doxygen: Doxyfile ../include/opusfile.h | |
8 doxygen | |
9 | |
10 pdf: doxygen | |
11 make -C latex | |
12 | |
13 clean: | |
14 $(RM) -r html | |
15 $(RM) -r latex | |
16 | |
17 distclean: clean | |
18 $(RM) Doxyfile | |
19 | |
20 .PHONY: all clean distclean doxygen pdf | |
21 | |
22 ../package_version: | |
23 @if [ -x ../update_version ]; then \ | |
24 ../update_version || true; \ | |
25 elif [ ! -e $@ ]; then \ | |
26 echo 'PACKAGE_VERSION="unknown"' > $@; \ | |
27 fi | |
28 | |
29 # run autoconf-like replacements to finalize our config | |
30 Doxyfile: Doxyfile.in Makefile ../package_version | |
31 sed -e 's/@PACKAGE_NAME@/opusfile/' \ | |
32 -e 's/@PACKAGE_VERSION@/$(PACKAGE_VERSION)/' \ | |
33 -e 's/@top_srcdir@/../' \ | |
34 < $< > $@ |