in rule - absolute path

calmar <[email protected]> Sat, 17 Dec 2005 12:46:55 +0100
Newsgroups gmane.comp.tools.aap.user
Message-ID <[email protected]>
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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click