bug-gnulib
[Top][All Lists]
Advanced

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

Re: inflexible non-recursive support


From: Werner LEMBERG
Subject: Re: inflexible non-recursive support
Date: Wed, 23 Jun 2021 09:16:21 +0000 (UTC)

[Please CC me; I'm not on the list.]

I wrote

  For example, in my project I would like to call the script as

    prefix-gnulib-mk --lib-name=libgnu gnulib/src/$gnulib_mk

  I suggest a patch as below (which needs further polishing to
  properly canonicalize the directory path, I guess).

and Paul asked:

  Thanks for the suggestion. Could you spell out a little more what
  sort of polishing would be needed there? (I'm not a regular user of
  this feature....)

Well, people could manually call the script like this

  prefix-gnulib-mk --lib-name=libgnu /home/foo/bar/gnulib/src/gnulib.mk

and the path should be massaged to be relative to the top-level
directory of the project.  Or maybe a warning/error is more
appropriate, disallowing absolute paths.


    Werner



reply via email to

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