Add cyclomatic code complexity charts.
[gnutls:gnutls.git] / doc / cyclo / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
3 #
4 # Author: Simon Josefsson
5 #
6 # This file is part of GNUTLS.
7 #
8 # This file is free software; you can redistribute it and/or modify it
9 # under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 3 of the License, or
11 # (at your option) any later version.
12 #
13 # This file is distributed in the hope that it will be useful, but
14 # WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 # General Public License for more details.
17 #
18 # You should have received a copy of the GNU General Public License
19 # along with this file; if not, write to the Free Software Foundation,
20 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21
22 EXTRA_DIST = cyclo-gnutls.html
23
24 cyclo-gnutls.html:
25         $(PMCCABE) ${top_srcdir}/lib/*.[ch] \
26                 | sort -nr \
27                 | $(AWK) -f ${top_srcdir}/build-aux/pmccabe2html \
28                         -v lang=html -v name="$(PACKAGE_NAME)" \
29                         -v vcurl="http://git.savannah.gnu.org/gitweb/?p=gnutls.git;a=blob;f=%FILENAME%;hb=HEAD" \
30                         -v url="http://www.gnu.org/software/gnutls/" \
31                         -v css=../../build-aux/pmccabe.css \
32                         > tmp
33         mv tmp $@