The build rule didn't really work before, now fixed. Update copyright years.
[gnutls:gnutls.git] / doc / cyclo / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2008-2011 Free Software Foundation, Inc.
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 vcurl = "http://git.savannah.gnu.org/gitweb/?p=gnutls.git;a=blob;f=lib/%FILENAME%;hb=HEAD"
25
26 cyclo-gnutls.html:
27         (cd ${top_srcdir}/lib && \
28                 $(PMCCABE) `find . -type f -name \*.[ch] \
29                                 | grep -v /minitasn1/ | sed 's,^./,,'` \
30                 | sort -nr \
31                 | LANG=C $(AWK) -f ${abs_top_srcdir}/build-aux/pmccabe2html \
32                         -v lang=html -v name="$(PACKAGE_STRING)" \
33                         -v vcurl=$(vcurl) \
34                         -v url="http://www.gnu.org/software/gnutls/" \
35                         -v css=${abs_top_srcdir}/build-aux/pmccabe.css) \
36                         > tmp
37         mv tmp $@