diff options
author | Simon Josefsson <simon@josefsson.org> | 2008-11-07 13:30:24 +0100 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2008-11-07 13:30:24 +0100 |
commit | df04fd1f9dd84009d4e2e446bb285e8ac46b2b2a (patch) | |
tree | d6321800db096490e910f4f110becae6e908b937 /doc/cyclo | |
parent | a1a0bcc6722983491f26f16d0e1204a952bd36a0 (diff) | |
download | gnutls-df04fd1f9dd84009d4e2e446bb285e8ac46b2b2a.tar.gz |
Add cyclomatic code complexity charts.
Diffstat (limited to 'doc/cyclo')
-rw-r--r-- | doc/cyclo/Makefile.am | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/cyclo/Makefile.am b/doc/cyclo/Makefile.am new file mode 100644 index 0000000000..7f6ebddb26 --- /dev/null +++ b/doc/cyclo/Makefile.am @@ -0,0 +1,33 @@ +## Process this file with automake to produce Makefile.in +# Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation +# +# Author: Simon Josefsson +# +# This file is part of GNUTLS. +# +# This file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This file is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this file; if not, write to the Free Software Foundation, +# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +EXTRA_DIST = cyclo-gnutls.html + +cyclo-gnutls.html: + $(PMCCABE) ${top_srcdir}/lib/*.[ch] \ + | sort -nr \ + | $(AWK) -f ${top_srcdir}/build-aux/pmccabe2html \ + -v lang=html -v name="$(PACKAGE_NAME)" \ + -v vcurl="http://git.savannah.gnu.org/gitweb/?p=gnutls.git;a=blob;f=%FILENAME%;hb=HEAD" \ + -v url="http://www.gnu.org/software/gnutls/" \ + -v css=../../build-aux/pmccabe.css \ + > tmp + mv tmp $@ |