[Top][All Lists]

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

FYI, remove make comment char "#" from temporary directory name

From: Jim Meyering
Subject: FYI, remove make comment char "#" from temporary directory name
Date: Sun, 18 Feb 2007 12:19:34 +0100

With gnulib's new link-warning module, there is an implicit requirement
that certain directories used by gnulib-tool not contain "#".
In this case, it was the --aux-dir argument that caused trouble.
This ended up in coreutils' lib/gnulib.mk:

    LINK_WARNING_H = $(top_srcdir)/.#bootmp/build-aux/link-warning.h

With the embedded "#", that was equivalent to

    LINK_WARNING_H = $(top_srcdir)/.

Obviously, it's better not to use such file names, but it'd be nice
for gnulib-tool to support it, or at least to diagnose the problem.

I've worked around it:

2007-02-18  Jim Meyering  <address@hidden>

        * bootstrap: Use "._bootmp" as the temporary directory name,
        not ".#bootmp".  The latter's "#" caused trouble with the new,
        gnulib-added "LINK_WARNING_H = $(top_srcdir)/.#bootmp/..." line.

diff --git a/bootstrap b/bootstrap
index 28fb9ef..215d3e8 100755
--- a/bootstrap
+++ b/bootstrap
@@ -416,7 +416,7 @@ slurp() {

 # Create boot temporary directories to import from gnulib and gettext.

 rm -fr $bt $bt2 &&
 mkdir $bt $bt2 || exit

reply via email to

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