2
0

Makefile.in 767 B

1234567891011121314151617181920212223242526272829303132
  1. # Makefile for libSRTP documentation
  2. #
  3. # David A. McGrew
  4. # Cisco Systems, Inc.
  5. #
  6. # This makefile does not use the autoconf system; we don't really need
  7. # it. We just run doxygen.
  8. # The most up to date documentation can be found at www.github.com/cisco/libsrtp
  9. srcdir = @srcdir@
  10. top_srcdir = @top_srcdir@
  11. top_builddir = @top_builddir@
  12. VPATH = @srcdir@
  13. # Determine the version of the library
  14. version = $(shell cat $(top_srcdir)/VERSION)
  15. .PHONY: libsrtpdoc clean
  16. libsrtpdoc:
  17. @if test ! -e Doxyfile.in; then \
  18. echo "*** Sorry, can't build doc outside source dir"; exit 1; \
  19. fi
  20. sed 's/LIBSRTPVERSIONNUMBER/$(version)/' Doxyfile.in > Doxyfile
  21. doxygen
  22. clean:
  23. rm -rf html/ Doxyfile
  24. for a in * ; do \
  25. if [ -f "$$a~" ] ; then rm -f $$a~; fi; \
  26. done;