changeset 45:d5dd1c5b90a9

Made src file paths relative, so the __FILE__ literal do only contain the relevant path.
author Frank Benoit <benoit@tionex.de>
date Wed, 25 Mar 2009 18:52:36 +0100
parents ed96ea2a2764
children 17310ba3c1bc
files rakefile
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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