Mercurial > hg > sv-dependency-builds
annotate src/opusfile-0.9/doc/Makefile @ 169:223a55898ab9 tip default
Add null config files
| author | Chris Cannam <cannam@all-day-breakfast.com> | 
|---|---|
| date | Mon, 02 Mar 2020 14:03:47 +0000 | 
| parents | 4664ac0c1032 | 
| children | 
| rev | line source | 
|---|---|
| cannam@154 | 1 ## GNU makefile for opusfile documentation. | 
| cannam@154 | 2 | 
| cannam@154 | 3 -include ../package_version | 
| cannam@154 | 4 | 
| cannam@154 | 5 all: doxygen | 
| cannam@154 | 6 | 
| cannam@154 | 7 doxygen: Doxyfile ../include/opusfile.h | 
| cannam@154 | 8 doxygen | 
| cannam@154 | 9 | 
| cannam@154 | 10 pdf: doxygen | 
| cannam@154 | 11 make -C latex | 
| cannam@154 | 12 | 
| cannam@154 | 13 clean: | 
| cannam@154 | 14 $(RM) -r html | 
| cannam@154 | 15 $(RM) -r latex | 
| cannam@154 | 16 | 
| cannam@154 | 17 distclean: clean | 
| cannam@154 | 18 $(RM) Doxyfile | 
| cannam@154 | 19 | 
| cannam@154 | 20 .PHONY: all clean distclean doxygen pdf | 
| cannam@154 | 21 | 
| cannam@154 | 22 ../package_version: | 
| cannam@154 | 23 @if [ -x ../update_version ]; then \ | 
| cannam@154 | 24 ../update_version || true; \ | 
| cannam@154 | 25 elif [ ! -e $@ ]; then \ | 
| cannam@154 | 26 echo 'PACKAGE_VERSION="unknown"' > $@; \ | 
| cannam@154 | 27 fi | 
| cannam@154 | 28 | 
| cannam@154 | 29 # run autoconf-like replacements to finalize our config | 
| cannam@154 | 30 Doxyfile: Doxyfile.in Makefile ../package_version | 
| cannam@154 | 31 sed -e 's/@PACKAGE_NAME@/opusfile/' \ | 
| cannam@154 | 32 -e 's/@PACKAGE_VERSION@/$(PACKAGE_VERSION)/' \ | 
| cannam@154 | 33 -e 's/@top_srcdir@/../' \ | 
| cannam@154 | 34 < $< > $@ | 
