[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * Pod-Simple-Texinfo/README: explain how test_scr
From: |
Patrice Dumas |
Subject: |
branch master updated: * Pod-Simple-Texinfo/README: explain how test_scripts/*.sh can be modified by a sed one liner to be usable when using Makefile.PL. |
Date: |
Sat, 20 Apr 2024 11:30:33 -0400 |
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 3b91d37d91 * Pod-Simple-Texinfo/README: explain how test_scripts/*.sh
can be modified by a sed one liner to be usable when using Makefile.PL.
3b91d37d91 is described below
commit 3b91d37d91d31dbba559414939493c4ad015d1fc
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Apr 20 17:30:25 2024 +0200
* Pod-Simple-Texinfo/README: explain how test_scripts/*.sh can be
modified by a sed one liner to be usable when using Makefile.PL.
---
ChangeLog | 5 +++++
Pod-Simple-Texinfo/README | 17 ++++++++++++++---
2 files changed, 19 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 104b4ac2ec..9a2fd07526 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-04-20 Patrice Dumas <pertusus@free.fr>
+
+ * Pod-Simple-Texinfo/README: explain how test_scripts/*.sh can be
+ modified by a sed one liner to be usable when using Makefile.PL.
+
2024-04-20 Patrice Dumas <pertusus@free.fr>
* Pod-Simple-Texinfo/pod2texi.pl (BEGIN): detect the case of a
diff --git a/Pod-Simple-Texinfo/README b/Pod-Simple-Texinfo/README
index 20865e3d57..dd5a72a680 100644
--- a/Pod-Simple-Texinfo/README
+++ b/Pod-Simple-Texinfo/README
@@ -31,9 +31,20 @@ distribute the module using Makefile.PL as described here.
The pod2texi script is usually set up using the Autoconf and Automake
built environment from pod2texi.pl. When using Makefile.PL from version
-control sources, pod2texi.pl file should be copied instead, as explained above.
-In that case, the Texinfo::Parser modules will not be searched for as in the
-GNU Texinfo usual case, only in the perl paths, as in other perl modules.
+control sources, the pod2texi.pl file should be copied instead, as explained
+above. In that case, the Texinfo::Parser modules will not be searched for as
+in the GNU Texinfo usual case, only in the perl paths, as in other perl
+modules.
+
+The test_scripts/*.sh test scripts are setup to work with the Autoconf and
+Automake built environment, they are not distributed when using Makefile.PL.
+To be able to run them manually from version control sources when using
+Makefile.PL, you can do something like the following, with a sed command
+that understands -i to modify the scripts such that they do not need the
+defs file present in the Autoconf and Automake built environment:
+for script in test_scripts/*.sh; do
+ sed -i -e 's;^\. \$testdir/\.\./tp/defs.*;#&\nPERL=perl;' $script;
+done
COPYRIGHT AND LICENCE
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * Pod-Simple-Texinfo/README: explain how test_scripts/*.sh can be modified by a sed one liner to be usable when using Makefile.PL.,
Patrice Dumas <=