summaryrefslogtreecommitdiff
path: root/build-aux/pmccabe2html
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2009-11-06 14:36:24 +0100
committerSimon Josefsson <simon@josefsson.org>2009-11-06 14:36:24 +0100
commit3431a129a1801dad2ca8bac3ca5cf417b6dc9139 (patch)
tree7e0a2076afa2ebebe293d143b75d8404f2e1f9c4 /build-aux/pmccabe2html
parent42095643379113b8f7eaf6b32a06521c78887331 (diff)
downloadgnulib-3431a129a1801dad2ca8bac3ca5cf417b6dc9139.tar.gz
build-aux/pmccabe2html: Drop #! header. Doc fix.
Diffstat (limited to 'build-aux/pmccabe2html')
-rw-r--r--build-aux/pmccabe2html14
1 files changed, 6 insertions, 8 deletions
diff --git a/build-aux/pmccabe2html b/build-aux/pmccabe2html
index ea3e262eae..dd397cff19 100644
--- a/build-aux/pmccabe2html
+++ b/build-aux/pmccabe2html
@@ -1,6 +1,4 @@
-#!/bin/sh
-exec awk -f "$0" "$@"
-# pmccabe2html - pmccabe to html converter
+# pmccabe2html - AWK script to convert pmccabe output to html
# Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc.
@@ -23,16 +21,16 @@ exec awk -f "$0" "$@"
# Typical Invocation is from a Makefile.am:
#
-# cyclo-$(PROJECT).html:
+# cyclo-$(PACKAGE).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=$(PROJECT).git;a=blob;f=%FILENAME%;hb=HEAD" \
-# -v url="http://www.gnu.org/software/$(PROJECT)/" \
+# -v vcurl="http://git.savannah.gnu.org/gitweb/?p=$(PACKAGE).git;a=blob;f=%FILENAME%;hb=HEAD" \
+# -v url="http://www.gnu.org/software/$(PACKAGE)/" \
# -v css=${top_srcdir}/build-aux/pmccabe.css \
-# > tmp
-# mv tmp $@
+# > $@-tmp
+# mv $@-tmp $@
#
# The variables available are:
# lang output language, either 'html' or 'wiki'