[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