texlive[70678] Build/source/texk/texlive/linked_scripts: do not

commits+karl at tug.org commits+karl at tug.org
Sun Mar 17 21:46:31 CET 2024


Revision: 70678
          https://tug.org/svn/texlive?view=revision&revision=70678
Author:   karl
Date:     2024-03-17 21:46:31 +0100 (Sun, 17 Mar 2024)
Log Message:
-----------
do not remove extensions of memoize-*.{pl,py}

Modified Paths:
--------------
    trunk/Build/source/texk/texlive/linked_scripts/ChangeLog
    trunk/Build/source/texk/texlive/linked_scripts/Makefile.am
    trunk/Build/source/texk/texlive/linked_scripts/Makefile.in

Modified: trunk/Build/source/texk/texlive/linked_scripts/ChangeLog
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/ChangeLog	2024-03-17 19:49:20 UTC (rev 70677)
+++ trunk/Build/source/texk/texlive/linked_scripts/ChangeLog	2024-03-17 20:46:31 UTC (rev 70678)
@@ -1,3 +1,10 @@
+2024-03-17  Karl Berry  <karl at 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 at tug.org>
 
 	* Makefile.am (texmf_other_scripts): whoops, undo

Modified: trunk/Build/source/texk/texlive/linked_scripts/Makefile.am
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/Makefile.am	2024-03-17 19:49:20 UTC (rev 70677)
+++ trunk/Build/source/texk/texlive/linked_scripts/Makefile.am	2024-03-17 20:46:31 UTC (rev 70678)
@@ -1,7 +1,7 @@
 ## $Id$
 ## Makefile.am for the TeX Live subdirectory texk/texlive/linked_scripts/
 ##
-## Copyright 2016-2023 Karl Berry <tex-live at tug.org>
+## Copyright 2016-2024 Karl Berry <tex-live at tug.org>
 ## Copyright 2009-2015 Peter Breitenlohner <tex-live at tug.org>
 ## You may freely use, modify and/or distribute this file.
 ##
@@ -325,7 +325,7 @@
 	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 @@
 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

Modified: trunk/Build/source/texk/texlive/linked_scripts/Makefile.in
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/Makefile.in	2024-03-17 19:49:20 UTC (rev 70677)
+++ trunk/Build/source/texk/texlive/linked_scripts/Makefile.in	2024-03-17 20:46:31 UTC (rev 70678)
@@ -771,7 +771,7 @@
 @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]'`; \
- at WIN32_FALSE@	    echo "$$s" | grep listings-ext.sh >/dev/null \
+ at 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 @@
 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



More information about the tex-live-commits mailing list.