diff options
author | Erwin Nindl <nine@wirdorange.org> | 2007-06-22 13:59:20 +0000 |
---|---|---|
committer | Erwin Nindl <nine@wirdorange.org> | 2007-06-22 13:59:20 +0000 |
commit | 0275479cb56c7f562f3513fef66c83fc44d1d8c9 (patch) | |
tree | f6fbb703cebf62d18b05e2a5e7591ac08c5b6702 /srtp/doc/Makefile.in | |
parent | satp internet draft 00 final ietf version (diff) |
added libsrtp to svn
Diffstat (limited to 'srtp/doc/Makefile.in')
-rw-r--r-- | srtp/doc/Makefile.in | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/srtp/doc/Makefile.in b/srtp/doc/Makefile.in new file mode 100644 index 0000000..5b4b6bd --- /dev/null +++ b/srtp/doc/Makefile.in @@ -0,0 +1,44 @@ +# Makefile for libSRTP documentation +# +# David A. McGrew +# Cisco Systems, Inc. +# +# This makefile does not use the autoconf system; we don't really need +# it. We just run doxygen then latex. If you don't have either of +# these, then there is no way that you can make your own +# documentation. Of course, you can just go online at pick up the +# documentation from http://srtp.sourceforge.net. + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +top_builddir = @top_builddir@ +VPATH = @srcdir@ + +# Determine the version of the library + +version = $(shell cat $(top_srcdir)/VERSION) + + +.PHONY: libsrtpdoc cryptodoc clean +libsrtpdoc: + @if test ! -e Doxyfile; then \ + echo "*** Sorry, can't build doc outside source dir"; exit 1; \ + fi + sed 's/LIBSRTPVERSION/$(version)/' header.template > header.tex + doxygen + sed 's/\subsection/\section/' latex/index.tex > latex/index.tmp + mv latex/index.tmp latex/index.tex + cd latex; make + cp latex/refman.pdf libsrtp.pdf + + +cryptodoc: clean + doxygen crypto.dox + cd latex; make + cp latex/refman.pdf crypto.pdf + +clean: + rm -rf latex/ header.tex + for a in * ; do \ + if [ -f "$$a~" ] ; then rm -f $$a~; fi; \ + done; |