Mercurial > hg > sv-dependency-builds
annotate src/opusfile-0.9/doc/Makefile @ 76:f3731af47c4b
No, that isn't going to end well. Back it out.
author | Chris Cannam |
---|---|
date | Sat, 16 Feb 2019 18:32:35 +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 < $< > $@ |