[A-a-p-user] in rule - absolute path
Brought to you by:
vimboss
From: calmar <ma...@ca...> - 2005-12-17 11:47:04
|
Hi all, when I have a rule like that :rule %.html : htmlbegin.part %.part and when the files to build include some paths: files = file1 dir1/dir2/file2 it seems aap looks for some dir1/dir2/htmlbegin.part file, so in the same dir where file2 is in. I would like to use always the same htmlbegin.part file, so I would need to put there a absolute path like: :rule %.html : /var/www/oldtimer/htmlbegin.part %.part That seems to work, but it's probably not really a really good way to do it. Is there a simple aap variable representing the path where the main.aap script is actually in or so? Or how would I do that in a good way? Thanks a lot marco -- calmar (o_ It rocks: LINUX + Command-Line-Interface //\ V_/_ http://www.calmar.ws |