X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=build-aux%2Fpmccabe2html;h=dd397cff19ad1951386bdd93411627bc6a2b9540;hb=169ab5dec0e562548959482e3ff63c96c340e0d1;hp=bc0f6e80b9767561e245726ccff9ea6d64024a57;hpb=c9fed5f857a8a6bcce5e276920fd64c43bc5c668;p=gnulib.git diff --git a/build-aux/pmccabe2html b/build-aux/pmccabe2html old mode 100755 new mode 100644 index bc0f6e80b..dd397cff1 --- 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-libidn.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=libidn.git;a=blob;f=%FILENAME%;hb=HEAD" \ -# -v url="http://www.gnu.org/software/libidn/" \ -# -v css=../../build-aux/pmccabe.css \ -# > tmp -# mv tmp $@ +# -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 $@ # # The variables available are: # lang output language, either 'html' or 'wiki'