summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2011-11-09 10:03:48 +0100
committerSimon Josefsson <simon@josefsson.org>2011-11-09 10:03:48 +0100
commitce43f3cfab492cacbd669ed880552050d0557bf2 (patch)
treeac854fa3f81c880cfb61090116bc85c7b66abfb9
parent92bf546f0214166981180c6621da5fc1a2fb8eed (diff)
downloadgnutls-ce43f3cfab492cacbd669ed880552050d0557bf2.tar.gz
The build rule didn't really work before, now fixed. Update copyright years.
-rw-r--r--doc/cyclo/Makefile.am17
1 files changed, 10 insertions, 7 deletions
diff --git a/doc/cyclo/Makefile.am b/doc/cyclo/Makefile.am
index 31680c97ef..295ef2bb7a 100644
--- a/doc/cyclo/Makefile.am
+++ b/doc/cyclo/Makefile.am
@@ -1,6 +1,5 @@
## Process this file with automake to produce Makefile.in
-# Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2010 Free Software
-# Foundation, Inc.
+# Copyright (C) 2008-2011 Free Software Foundation, Inc.
#
# Author: Simon Josefsson
#
@@ -22,13 +21,17 @@
EXTRA_DIST = cyclo-gnutls.html
+vcurl = "http://git.savannah.gnu.org/gitweb/?p=gnutls.git;a=blob;f=lib/%FILENAME%;hb=HEAD"
+
cyclo-gnutls.html:
- $(PMCCABE) ${top_srcdir}/lib/*.[ch] ${top_srcdir}/lib/x509/*.[ch] ${top_srcdir}/lib/openpgp/*.[ch] ${top_srcdir}/lib/opencdk/*.[ch] \
+ (cd ${top_srcdir}/lib && \
+ $(PMCCABE) `find . -type f -name \*.[ch] \
+ | grep -v /minitasn1/ | sed 's,^./,,'` \
| 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" \
+ | LANG=C $(AWK) -f ${abs_top_srcdir}/build-aux/pmccabe2html \
+ -v lang=html -v name="$(PACKAGE_STRING)" \
+ -v vcurl=$(vcurl) \
-v url="http://www.gnu.org/software/gnutls/" \
- -v css=../../build-aux/pmccabe.css \
+ -v css=${abs_top_srcdir}/build-aux/pmccabe.css) \
> tmp
mv tmp $@