bug-gnulib
[Top][All Lists]
Advanced

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

non-recursive-gnulib-prefix-hack: Remove obsolete code


From: Bruno Haible
Subject: non-recursive-gnulib-prefix-hack: Remove obsolete code
Date: Wed, 15 Dec 2021 19:16:12 +0100

The non-recursive-gnulib-prefix-hack module contains code to transform
t-$@ patterns. But such patterns don't exist any more nowadays (probably
for several years already). So, let me remove this obsolete code.


2021-12-15  Bruno Haible  <bruno@clisp.org>

        non-recursive-gnulib-prefix-hack: Remove obsolete code.
        * build-aux/prefix-gnulib-mk (prefix): Remove handling of t-$@ pattern.

diff --git a/build-aux/prefix-gnulib-mk b/build-aux/prefix-gnulib-mk
index 347ddcd64..7b43eb0db 100755
--- a/build-aux/prefix-gnulib-mk
+++ b/build-aux/prefix-gnulib-mk
@@ -193,10 +193,6 @@ sub prefix ($)
   #   test '$(srcdir)' = . || rm -f $(top_builddir)/GNUmakefile
   s{\$\(srcdir\)/}{\$(top_srcdir)/$prefix}g;
 
-  # Sometimes, t-$@ is used instead of $@-t, which, of course, does
-  # not work when we have a $@ with a directory in it.
-  s{t-\$\@}{\$\@-t}g;
-
   # Some AC_SUBST patterns remain and would better be Make macros.
   s{\@(MKDIR_P)\@}{\$($1)}g;
 






reply via email to

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