bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] pmccabe2html: Doc fix.


From: Simon Josefsson
Subject: [PATCH] pmccabe2html: Doc fix.
Date: Tue, 16 Aug 2022 00:30:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

This improve the suggested Makefile.am snippet.

/Simon
From 416872ced15e471f2af2f960ca911da05748a870 Mon Sep 17 00:00:00 2001
From: Simon Josefsson <simon@josefsson.org>
Date: Tue, 16 Aug 2022 00:28:22 +0200
Subject: [PATCH] pmccabe2html: Doc fix.

* build-aux/pmccabe2html: Don't use reserved _SOURCES namespace.
Use AM_V_GEN.  Use LC_ALL=C.
---
 ChangeLog              |  6 ++++++
 build-aux/pmccabe2html | 10 +++++-----
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 8736a82d1e..c0f2259599 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2022-08-16  Simon Josefsson  <simon@josefsson.org>
+
+       pmccabe2html: Doc fix.
+       * build-aux/pmccabe2html: Don't use reserved _SOURCES namespace.
+       Use AM_V_GEN.  Use LC_ALL=C.
+
 2022-08-15  Bruno Haible  <bruno@clisp.org>
 
        stdbool: Drop old BeOS support that gets in the way of ISO C 23 support.
diff --git a/build-aux/pmccabe2html b/build-aux/pmccabe2html
index 20bdf52bed..f29eae3f00 100644
--- a/build-aux/pmccabe2html
+++ b/build-aux/pmccabe2html
@@ -21,12 +21,12 @@
 
 # Typical Invocation is from a Makefile.am:
 #
-# CYCLO_SOURCES = ${top_srcdir}/src/*.[ch]
+# CYCLO_SRCS = ${top_srcdir}/src/*.[ch]
 #
-# cyclo-$(PACKAGE).html: $(CYCLO_SOURCES)
-#      $(PMCCABE) $(CYCLO_SOURCES) \
-#              | sort -nr \
-#              | $(AWK) -f ${top_srcdir}/build-aux/pmccabe2html \
+# cyclo-$(PACKAGE).html: $(CYCLO_SRCS)
+#      $(AM_V_GEN)$(PMCCABE) $(CYCLO_SRCS) \
+#              | LC_ALL=C sort -nr \
+#              | LC_ALL=C $(AWK) -f ${top_srcdir}/build-aux/pmccabe2html \
 #                      -v lang=html -v name="$(PACKAGE_NAME)" \
 #                      -v 
vcurl="https://git.savannah.gnu.org/gitweb/?p=$(PACKAGE).git;a=blob;f=%FILENAME%;hb=HEAD"
 \
 #                      -v url="https://www.gnu.org/software/$(PACKAGE)/" \
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]