diff options
author | Benny Prijono <bennylp@teluu.com> | 2008-01-23 20:17:42 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2008-01-23 20:17:42 +0000 |
commit | 78a92f35ea2593b35b1aa1312aeab4999a0811cf (patch) | |
tree | 302edf3b1c571fa11a169ae3d74eb7f2d30a523b /third_party/srtp/doc/Makefile | |
parent | 19ab0113d44a93f576eabe71bd966603fc4c81ef (diff) |
Ticket #61: imported libsrtp into third_party directory (backported from srtp branch)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1730 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'third_party/srtp/doc/Makefile')
-rw-r--r-- | third_party/srtp/doc/Makefile | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/third_party/srtp/doc/Makefile b/third_party/srtp/doc/Makefile new file mode 100644 index 00000000..d4c0845e --- /dev/null +++ b/third_party/srtp/doc/Makefile @@ -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 = . +top_srcdir = .. +top_builddir = ../ + + +# 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; |