Stratego/XT JIRA  History | Log In     View a printable version of the current page. Get help!  
Issue Details (XML | Word)

Key: STR-617
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Martin Bravenboer
Reporter: SIGOURE Benoit
Votes: 0
Watchers: 1
Operations

Clone this issue
Create sub-task
If you were logged in you would be able to see more operations.
Stratego/XT

Makefile.xt must use the basename of a tool/file when registering it in the XTC repository

Created: 2006-08-13 19:03   Updated: 2008-03-31 20:46
Component/s: autoxt
Affects Version/s: 0.18 (Standard C and Stratego Libraries)
Fix Version/s: 0.17

Original Estimate: 10 minutes Remaining Estimate: 10 minutes Time Spent: Unknown
Environment:
Darwin quanta.tsunanet.net 8.7.1 Darwin Kernel Version 8.7.1: Wed Jun 7 16:19:56 PDT 2006; root:xnu-792.9.72.obj~2/RELEASE_I386 i386 i386 MacBook1,1 Darwin
STRC 0.17M2 (revision 15559)


 Description  « Hide
for instance libexec_SCRIPTS = folder/foobar.sh will be registered with "folder/foobar.sh" being the tool name instead of "foobar.sh".
install-exec-local is already using basename as expected but not install-data-local and all-local.

 All   Comments   Work Log   Change History      Sort Order:
SIGOURE Benoit [2006-08-13 19:35]
Reminder: for the all-local rule, the location of the tool register is also incorrect. It sould be $d + dirname $file

SIGOURE Benoit [2006-08-13 20:35]
Btw in order to avoid adding lots of "./" everywhere (since dirname $file = . in most of the cases) it'd be better to do something like: test x"`dirname $file`" != x. && d="$d/`dirname $file`"