From cfb6a6800bd1e90ffadbe2ef362d95c650957224 Mon Sep 17 00:00:00 2001
From: Lars Kanis <kanis@comcard.de>
Date: Sat, 4 Feb 2012 21:21:28 +0100
Subject: [PATCH] Add some more dependencies within i-files to Rakefile

---
 Rakefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Rakefile b/Rakefile
index ae824d3..da72bc5 100755
--- a/Rakefile
+++ b/Rakefile
@@ -125,10 +125,11 @@ namespace :swig do
 
   # add dependencies for compile *.i to *_wrap.cpp
   SWIG_MODULES.each do |ifile, cppfile|
-    ifile_path = File.join("swig-interfaces", ifile)
     cppfile_path = File.join("ext/fox16", cppfile)
 
-    file cppfile_path => [ifile_path] do
+    file cppfile_path => [ifile, 'macros.i', 'common.i', 'fxdefs.i', 'ruby-typemaps.i',
+                          'markfuncs.i', 'exceptions.i', 'freefuncs.i', 'macros.i', 'handlers.i'
+                         ].map{|f| File.join("swig-interfaces", f) } do
       Dir.chdir "swig-interfaces" do
         swig(ifile, cppfile)
       end
-- 
GitLab