From df0af6b7067e6a4ad0a88f2775da28cfc159ee66 Mon Sep 17 00:00:00 2001 From: ng0 Date: Sun, 1 Dec 2019 23:22:26 +0000 Subject: check-texinfo.awk: move comments to the moved code. --- Makefile.am | 2 -- contrib/scripts/check-texinfo.awk.in | 6 +++++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index aea6c2f6c..edcd28b92 100644 --- a/Makefile.am +++ b/Makefile.am @@ -70,7 +70,5 @@ check-python: printf "Running flake8 and 2to3 if detected.\n" $(top_srcdir)/contrib/scripts/lint/lint-python.sh || true -# exception to add: ignore license files. -# exception to add: uref's can go above 79 chars. check-texinfo: @cd $(top_srcdir); find . -type f ! -path '*/.*' -name '*.texi' -print0 | xargs -0 ./contrib/scripts/check-texinfo.awk > $(srcdir)/texinfo_lint.log || true diff --git a/contrib/scripts/check-texinfo.awk.in b/contrib/scripts/check-texinfo.awk.in index 12f71b5d2..37e2c9f20 100755 --- a/contrib/scripts/check-texinfo.awk.in +++ b/contrib/scripts/check-texinfo.awk.in @@ -1,7 +1,11 @@ #!@AWKEXE@ -f - +# # Dedicated to the Public Domain. # SPDX-License-Identifier: 0BSD +# +# exception to add: ignore license files. +# exception to add: uref's can go above 79 chars. + BEGIN { printf "Running basic texinfo linters\n" ; -- cgit v1.2.3