• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
10srcdir = @srcdir@
11top_srcdir = @top_srcdir@
12top_builddir = @top_builddir@
13VPATH = @srcdir@
14
15# Determine the version of the library
16
17version = $(shell cat $(top_srcdir)/VERSION)
18
19.PHONY: libsrtpdoc clean
20libsrtpdoc:
21	@if test ! -e Doxyfile.in; then \
22		echo "*** Sorry, can't build doc outside source dir"; exit 1; \
23	fi
24	sed 's/LIBSRTPVERSIONNUMBER/$(version)/' Doxyfile.in > Doxyfile
25	doxygen
26
27clean:
28
29	rm -rf html/ Doxyfile
30	for a in * ; do							\
31			  if [ -f "$$a~" ] ; then rm -f $$a~; fi;	\
32		done;
33