# HG changeset patch # User Frank Benoit # Date 1238003556 -3600 # Node ID d5dd1c5b90a96cb69fb6f7a4a99fd380d636fc68 # Parent ed96ea2a2764b6257277d5cf4652efb5bd73f377 Made src file paths relative, so the __FILE__ literal do only contain the relevant path. diff -r ed96ea2a2764 -r d5dd1c5b90a9 rakefile --- a/rakefile Wed Mar 25 18:31:01 2009 +0100 +++ b/rakefile Wed Mar 25 18:52:36 2009 +0100 @@ -118,7 +118,7 @@ rsp.puts "-op" Find.find( srcdir_abs ) do |path| if path =~ /\.d$/ then - rsp.puts path.to_path + rsp.puts path.to_path[ srcdir_abs.size+1 .. -1 ] end end rsp.close @@ -213,7 +213,7 @@ applfile = File.join(BINDIR,appname+EXEEXT) rsp.puts "-of#{applfile.to_path}" filelist.each do |path| - rsp.puts File.expand_path(path).to_path + rsp.puts File.expand_path(path).to_path[ srcdir_abs.size+1 .. -1 ] end rsp.close