Fixed `clobber` task stx-8.0.0
authorJan Vrany <jan.vrany@fit.cvut.cz>
Mon, 13 Nov 2017 21:24:29 -0300
branchstx-8.0.0
changeset 199 12ced3cfdb4b
parent 198 9d1750614ee9
child 200 bf8b3d4e7865
Fixed `clobber` task
rakelib/clean.rake
--- a/rakelib/clean.rake	Thu Nov 02 14:24:09 2017 +0000
+++ b/rakelib/clean.rake	Mon Nov 13 21:24:29 2017 -0300
@@ -68,7 +68,7 @@
       #if File.exist? pkg_wc
       chdir pkg_wc do
         case
-          when unix? && File.exist?('Makefile')
+          when unix? && File.exist?('makefile')
             make 'clean'
           when win32? && File.exist?('bmake.bat')
             make 'clean'
@@ -86,7 +86,7 @@
       #if File.exist? pkg_wc then
       chdir pkg_wc do
         case
-          when unix? && File.exist?('Makefile')
+          when unix? && File.exist?('makefile')
             make 'clobber'
           when win32? && File.exist?('bc.mak')
             make 'clobber'