Mercurial > hg > sv-dependency-builds
comparison src/opusfile-0.9/doc/Makefile @ 154:4664ac0c1032
Add Opus sources and macOS builds
| author | Chris Cannam <cannam@all-day-breakfast.com> |
|---|---|
| date | Wed, 23 Jan 2019 13:48:08 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 153:84bc3a5ec321 | 154:4664ac0c1032 |
|---|---|
| 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 < $< > $@ |
