texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * contrib/mass_test/*.sh: add copyright notices.


From: Patrice Dumas
Subject: branch master updated: * contrib/mass_test/*.sh: add copyright notices.
Date: Sun, 14 Jan 2024 15:52:27 -0500

This is an automated email from the git hooks/post-receive script.

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 594c4f6b05 * contrib/mass_test/*.sh: add copyright notices.
594c4f6b05 is described below

commit 594c4f6b058719fc6166d509a4e60ede50311e1a
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Jan 14 21:52:30 2024 +0100

    * contrib/mass_test/*.sh: add copyright notices.
    
    * contrib/mass_test/extract_manuals.sh: call sed portably.
---
 ChangeLog                                    |  6 ++++++
 contrib/mass_test/check_perlVSC.sh           | 13 +++++++++++++
 contrib/mass_test/extract_manuals.sh         | 24 ++++++++++++++++++------
 contrib/mass_test/get_manuals.sh             |  6 ++++++
 contrib/mass_test/setup_reference_perlVSC.sh | 12 ++++++++++++
 5 files changed, 55 insertions(+), 6 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 843720ac75..a9a60a206b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-01-14  Patrice Dumas  <pertusus@free.fr>
+
+       * contrib/mass_test/*.sh: add copyright notices.
+
+       * contrib/mass_test/extract_manuals.sh: call sed portably.
+
 2024-01-14  Patrice Dumas  <pertusus@free.fr>
 
        contrib/mass_test for tests on manuals found on GNU website
diff --git a/contrib/mass_test/check_perlVSC.sh 
b/contrib/mass_test/check_perlVSC.sh
index 9faa8917f7..e7de586543 100755
--- a/contrib/mass_test/check_perlVSC.sh
+++ b/contrib/mass_test/check_perlVSC.sh
@@ -1,4 +1,17 @@
 #! /bin/sh
+# Setup HTML output using XS converter and compare with output
+# obtained with the Perl converter.
+#
+# Copyright 2024 Free Software Foundation, Inc.
+#
+# This file is free software; as a special exception the author gives
+# unlimited permission to copy and/or distribute it, with or without
+# modifications, as long as this notice is preserved.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
 
 # if set -e is used, diff call should be protected
 #set -e
diff --git a/contrib/mass_test/extract_manuals.sh 
b/contrib/mass_test/extract_manuals.sh
index 807f7ed302..a8a3e75ec1 100755
--- a/contrib/mass_test/extract_manuals.sh
+++ b/contrib/mass_test/extract_manuals.sh
@@ -1,4 +1,14 @@
 #! /bin/sh
+# Copy and extract Texinfo manuals
+#
+# Copyright 2024 Free Software Foundation, Inc.
+#
+# This file is free software; as a special exception the author gives
+# unlimited permission to copy and/or distribute it, with or without
+# modifications, as long as this notice is preserved.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
 
 set -e
 
@@ -30,18 +40,20 @@ for dir in www.gnu.org/software/*/manual/ ; do
   fi
 done
 
-# there culd be many other fix of manuals, but it is of doubtful
-# use and too time consuming to set up, instead it is better to
-# call texi2any with force.
+# A fix for a manual to avoid errors. It was not generalized as too many
+# manuals have errors. Instead texi2any is called such as to continue
+# even if there are errors.
 echo '@macro FIXME {arg}
 \\arg\\
 @end macro
 ' > manuals/anubis/rendition.texi
 
-# files with does EOL found with
+# files with CRLF EOL found with
 # file manuals/*/*.texi | grep CRLF
 
-# remove dos end of lines.  Note that -i is not standard options of sed
+# remove CR in end of lines.
 for file in manuals/orgadoc/*.texi manuals/remotecontrol/version.texi; do
-  sed -i -e 's/\r$//' $file
+  sed 's/\r$//' $file > $file.$$
+  rm -f $file
+  mv $file.$$ $file
 done
diff --git a/contrib/mass_test/get_manuals.sh b/contrib/mass_test/get_manuals.sh
index 33ba7afba7..b528ad1e7b 100755
--- a/contrib/mass_test/get_manuals.sh
+++ b/contrib/mass_test/get_manuals.sh
@@ -1,4 +1,10 @@
 #! /bin/sh
+# Copyright 2024 Free Software Foundation.
+#
+# Copying and distribution of this file, with or without modification,
+# are permitted in any medium without royalty provided the copyright
+# notice and this notice are preserved.
+
 
 wget -v -N -r 
--accept-regex='www.gnu.org/software/[^/]+/manual/(.+.texi.tar.gz)?$' 
https://www.gnu.org/manual/manual.html
 
diff --git a/contrib/mass_test/setup_reference_perlVSC.sh 
b/contrib/mass_test/setup_reference_perlVSC.sh
index 07f893fc9f..1249a0a9a8 100755
--- a/contrib/mass_test/setup_reference_perlVSC.sh
+++ b/contrib/mass_test/setup_reference_perlVSC.sh
@@ -1,4 +1,16 @@
 #! /bin/sh
+# Setup reference HTML output using the perl converter
+#
+# Copyright 2024 Free Software Foundation, Inc.
+#
+# This file is free software; as a special exception the author gives
+# unlimited permission to copy and/or distribute it, with or without
+# modifications, as long as this notice is preserved.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
 
 set -e
 



reply via email to

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