[Developers] [Patches] absolute paths in THORNLIST

Frank Loeffler knarf at cct.lsu.edu
Tue Feb 10 12:24:00 CST 2009


Hi,

On Tue, Feb 10, 2009 at 06:02:14PM +0100, Thomas Radke wrote:
> Wouldn't something like the following be sufficient ?
> 
> # Directory for configuration options
> ifeq ($(strip $(THORNLIST_DIR)), )
> THORNLIST_DIR = $(dir $(THORNLIST))
> endif

When specifying just the file: THORNLIST=bla.th, THORNLIST_DIR needs to
be set to "." because later in the file the path is always used as
THORNLIST_DIR/THORNLIST and I wanted to keep the patch small.

It would also fail if you specify a THORNLIST_DIR and a THORNLIST
including a path like

THORNLIST_DIR=/home/knarf/thornlists
THORNLIST=project1/thornlist1.th

Frank



More information about the Developers mailing list