summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-03-17 20:46:31 +0000
committerKarl Berry <karl@freefriends.org>2024-03-17 20:46:31 +0000
commit949c449086921189a9f967050888e48bff8a6aa3 (patch)
tree891fac295e4cfdb392909035cd962f0422bb7ab7 /Build
parent9326a5e3e31a90eba2f0d2487a8fb1bffbaba64f (diff)
do not remove extensions of memoize-*.{pl,py}
git-svn-id: svn://tug.org/texlive/trunk@70678 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/texlive/linked_scripts/ChangeLog7
-rw-r--r--Build/source/texk/texlive/linked_scripts/Makefile.am6
-rw-r--r--Build/source/texk/texlive/linked_scripts/Makefile.in4
3 files changed, 12 insertions, 5 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/ChangeLog b/Build/source/texk/texlive/linked_scripts/ChangeLog
index 833d2a0fe30..9ca402579bc 100644
--- a/Build/source/texk/texlive/linked_scripts/ChangeLog
+++ b/Build/source/texk/texlive/linked_scripts/ChangeLog
@@ -1,3 +1,10 @@
+2024-03-17 Karl Berry <karl@tug.org>
+
+ * Makefile.am (install-data-hook, uninstall-hook):
+ special-case memoize-*.{pl,py} to not remove their extensions, a
+ la listings-ext.sh. From Robert Alessi,
+ https://tug.org/pipermail/tlbuild/2024q1/005499.html
+
2024-02-11 Karl Berry <karl@tug.org>
* Makefile.am (texmf_other_scripts): whoops, undo
diff --git a/Build/source/texk/texlive/linked_scripts/Makefile.am b/Build/source/texk/texlive/linked_scripts/Makefile.am
index d7c0ca1ec0c..d59131d316f 100644
--- a/Build/source/texk/texlive/linked_scripts/Makefile.am
+++ b/Build/source/texk/texlive/linked_scripts/Makefile.am
@@ -1,7 +1,7 @@
## $Id$
## Makefile.am for the TeX Live subdirectory texk/texlive/linked_scripts/
##
-## Copyright 2016-2023 Karl Berry <tex-live@tug.org>
+## Copyright 2016-2024 Karl Berry <tex-live@tug.org>
## Copyright 2009-2015 Peter Breitenlohner <tex-live@tug.org>
## You may freely use, modify and/or distribute this file.
##
@@ -325,7 +325,7 @@ else !WIN32
cd $(DESTDIR)$(bindir) && \
for s in $(nobase_dist_texmf_scripts_SCRIPTS); do \
target=`basename $$s | tr '[A-Z]' '[a-z]'`; \
- echo "$$s" | grep listings-ext.sh >/dev/null \
+ echo "$$s" | grep 'listings-ext.sh\|memoize-.*\.' >/dev/null \
|| target=`echo $$target | sed 's,\.[^/]*$$,,'`; \
rm -f $$target; \
echo "creating link '$$target' -> '$$REL/texmf-dist/scripts/$$s'"; \
@@ -361,7 +361,7 @@ endif WIN32
uninstall-hook:
@for s in $(nobase_dist_texmf_scripts_SCRIPTS); do \
target=`basename $$s | tr '[A-Z]' '[a-z]'`; \
- echo "$$s" | grep listings-ext.sh >/dev/null \
+ echo "$$s" | grep 'listings-ext.sh\|memoize-.*\.' >/dev/null \
|| target=`echo $$target | sed 's,\.[^/]*$$,,'`; \
rm -f $(DESTDIR)$(bindir)/$$target$(WINEXT); \
done
diff --git a/Build/source/texk/texlive/linked_scripts/Makefile.in b/Build/source/texk/texlive/linked_scripts/Makefile.in
index 30953906f8d..5d643ccb129 100644
--- a/Build/source/texk/texlive/linked_scripts/Makefile.in
+++ b/Build/source/texk/texlive/linked_scripts/Makefile.in
@@ -771,7 +771,7 @@ install-data-hook: installdirs-local
@WIN32_FALSE@ cd $(DESTDIR)$(bindir) && \
@WIN32_FALSE@ for s in $(nobase_dist_texmf_scripts_SCRIPTS); do \
@WIN32_FALSE@ target=`basename $$s | tr '[A-Z]' '[a-z]'`; \
-@WIN32_FALSE@ echo "$$s" | grep listings-ext.sh >/dev/null \
+@WIN32_FALSE@ echo "$$s" | grep 'listings-ext.sh\|memoize-.*\.' >/dev/null \
@WIN32_FALSE@ || target=`echo $$target | sed 's,\.[^/]*$$,,'`; \
@WIN32_FALSE@ rm -f $$target; \
@WIN32_FALSE@ echo "creating link '$$target' -> '$$REL/texmf-dist/scripts/$$s'"; \
@@ -798,7 +798,7 @@ install-links:
uninstall-hook:
@for s in $(nobase_dist_texmf_scripts_SCRIPTS); do \
target=`basename $$s | tr '[A-Z]' '[a-z]'`; \
- echo "$$s" | grep listings-ext.sh >/dev/null \
+ echo "$$s" | grep 'listings-ext.sh\|memoize-.*\.' >/dev/null \
|| target=`echo $$target | sed 's,\.[^/]*$$,,'`; \
rm -f $(DESTDIR)$(bindir)/$$target$(WINEXT); \
done