changeset 12251:6dd2245a1963

build-aux/pmccabe2html: Disable execute bit. Improve example usage.
author Simon Josefsson <simon@josefsson.org>
date Fri, 06 Nov 2009 14:30:03 +0100
parents 4c93d98299f9
children 53f63bc326f3
files ChangeLog build-aux/pmccabe2html
diffstat 2 files changed, 10 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-11-06  Simon Josefsson  <simon@josefsson.org>
+
+	* build-aux/pmccabe2html: Disable execute bit.  Suggested by
+	Reported by Ludovic Courtès.
+	* build-aux/pmccabe2html: Improve example usage.
+
 2009-11-06  Jim Meyering  <meyering@redhat.com>
 
 	do-release-commit-and-tag: New module.
old mode 100755
new mode 100644
--- a/build-aux/pmccabe2html
+++ b/build-aux/pmccabe2html
@@ -23,14 +23,14 @@
 
 # Typical Invocation is from a Makefile.am:
 #
-# cyclo-libidn.html:
+# cyclo-$(PROJECT).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 \
+#			-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 css=${top_srcdir}/build-aux/pmccabe.css \
 #			> tmp
 #	mv tmp $@
 #