diff options
Diffstat (limited to 'win32')
-rw-r--r-- | win32/Makefile.sub | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 8562162c6e..fa91fc6f25 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -367,6 +367,12 @@ update-rubyspec: update-mspec @cd $(srcdir:/=\) && git clone $(RUBYSPEC_GIT_URL) spec/rubyspec !endif +test-rubyspec-precheck: +!if !exist($(srcdir)/spec/rubyspec/.) + @echo No rubyspec here. make update-rubyspec first. + @exit 1 +!endif + $(MKFILES): $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub $(win_srcdir)/configure.bat $(win_srcdir)/setup.mak $(win_srcdir)/enc-setup.mak $(srcdir)/enc/Makefile.in $(COMSPEC) /C $(win_srcdir:/=\)\configure.bat $(configure_args) @echo $(MKFILES) should be updated, re-run $(MAKE). |