summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2011-11-20 23:45:29 +0100
committerSimon Josefsson <simon@josefsson.org>2011-11-20 23:45:29 +0100
commit8b3098acd4536b537ba2cfbe84918d0839083a87 (patch)
tree0c9c00de1f1743fd9190658c10a8f12a9d5447b1 /doc
parent75d5d54728fffe5c3faa2847174b0d8b0a7e2692 (diff)
downloadlibtasn1-8b3098acd4536b537ba2cfbe84918d0839083a87.tar.gz
libtasn1-8b3098acd4536b537ba2cfbe84918d0839083a87.tar.bz2
libtasn1-8b3098acd4536b537ba2cfbe84918d0839083a87.zip
Fix links in output.
Diffstat (limited to 'doc')
-rw-r--r--doc/cyclo/Makefile.am16
1 files changed, 9 insertions, 7 deletions
diff --git a/doc/cyclo/Makefile.am b/doc/cyclo/Makefile.am
index a323527..698a796 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) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
-# 2011 Free Software Foundation, Inc.
+# Copyright (C) 2002-2011 Free Software Foundation, Inc.
#
# This file is part of LIBTASN1.
#
@@ -19,13 +18,16 @@
EXTRA_DIST = cyclo-libtasn1.html
+vcurl = "http://git.savannah.gnu.org/gitweb/?p=libtasn1.git;a=blob;f=lib/%FILENAME%;hb=HEAD"
+
cyclo-libtasn1.html:
- $(PMCCABE) ${top_srcdir}/lib/*.[ch] \
+ (cd ${top_srcdir}/lib && \
+ $(PMCCABE) *.[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=libtasn1.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/libtasn1/" \
- -v css=../../build-aux/pmccabe.css \
+ -v css=${abs_top_srcdir}/build-aux/pmccabe.css) \
> tmp
mv tmp $@