Makefile 498 B

123456789101112131415161718192021222324252627
  1. ## GNU makefile for opusfile documentation.
  2. all: doxygen
  3. doxygen: Doxyfile ../include/opusfile.h
  4. doxygen
  5. pdf: doxygen
  6. make -C latex
  7. clean:
  8. $(RM) -r html
  9. $(RM) -r latex
  10. distclean: clean
  11. $(RM) Doxyfile
  12. .PHONY: all clean distclean doxygen pdf
  13. # run autoconf-like replacements to finalize our config
  14. GIT_VERSION := $(shell ./git-version.sh)
  15. Doxyfile: Doxyfile.in Makefile
  16. sed -e 's/@PACKAGE@/opusfile/' \
  17. -e 's/@VERSION@/$(GIT_VERSION)/' \
  18. -e 's/@top_srcdir@/../' \
  19. < $< > $@