specs/baseline.rbspec
changeset 236 5a4e789cdd40
parent 234 05943c900d5e
child 312 7f1be752f87a
--- a/specs/baseline.rbspec	Fri May 11 12:10:26 2018 +0100
+++ b/specs/baseline.rbspec	Tue Jun 12 21:27:24 2018 +0000
@@ -50,8 +50,7 @@
 				                           ]
 
     file BUILD_DIR / 'stx' / 'rules'  => BUILD_DIR do | t |
-      checkout :'exept:public', 'stx/rules'
-      top = "#{File.absolute_path(BUILD_DIR).gsub("/", "\\")}\\stx"
+      checkout :'exept:public', 'stx/rules'      
       chdir BUILD_DIR / 'stx' / 'rules'  do          
         rm_f 'stmkmf'
         rm_f 'stdHeader'
@@ -59,36 +58,6 @@
         rm_f 'stdRules'
         rm_f 'stdHeader_bc'
         rm_f 'stdRules_bc'
-        if unix? then                
-          # Argh, cannot use ln_s as it cannot make symlinks with relative
-          # paths. Sigh, 
-          sh "ln -s \'../../../bin/stmkmf.rb\' stmkmf"
-        end
-      
-        if win32? then
-          File.open('stdHeader_bc', "w") do | f |
-            f.puts <<-CONTENTS      
-# Do not edit! Automatically generated by rake (specs/#{File.basename(__FILE__)})
-#
-!IF !defined(TOP) 
-TOP=#{top}
-!ENDIF
-MAKELIB = $(TOP)\\..\\..\\makelib
-!INCLUDE $(MAKELIB)\\definitions-w.make
-CONTENTS
-          end
-          File.open('stdRules_bc', "w") do | f |
-            f.puts <<-CONTENTS      
-# Do not edit! Automatically generated by rake (specs/#{File.basename(__FILE__)})
-#
-!IF !defined(TOP) 
-TOP=#{top}
-!ENDIF
-MAKELIB = $(TOP)\\..\\..\\makelib
-!INCLUDE $(MAKELIB)\\rules-w.make
-CONTENTS
-          end
-        end
       end
     end