зеркало из https://github.com/github/ruby.git
* cygwin/GNUmakefile.in (SCRIPTPROGRAMS): ignore backup files and etc.
* cygwin/GNUmakefile.in (scriptbin): set executable bit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
31a974dfdb
Коммит
f5aca8a49e
|
@ -1,4 +1,8 @@
|
|||
Fri Dec 10 18:27:49 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
Fri Dec 10 18:28:40 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* cygwin/GNUmakefile.in (SCRIPTPROGRAMS): ignore backup files and etc.
|
||||
|
||||
* cygwin/GNUmakefile.in (scriptbin): set executable bit.
|
||||
|
||||
* tool/rbinstall.rb (install_recursive): always skip default ignored
|
||||
files. if block is given, call it instead of calling install.
|
||||
|
|
|
@ -12,7 +12,8 @@ else
|
|||
DLLWRAP += -mno-cygwin
|
||||
VPATH := $(VPATH):$(srcdir)/win32
|
||||
STUBPROGRAM = rubystub$(EXEEXT)
|
||||
SCRIPTPROGRAMS = $(addsuffix $(EXEEXT),$(notdir $(wildcard $(srcdir)/bin/*)))
|
||||
IGNOREDPATTERNS = %~ .% %.orig %.rej \#%\#
|
||||
SCRIPTPROGRAMS = $(addsuffix $(EXEEXT),$(filter-out $(IGNOREDPATTERNS),$(notdir $(wildcard $(srcdir)/bin/*))))
|
||||
endif
|
||||
|
||||
ifneq ($(ENABLE_SHARED),yes)
|
||||
|
@ -42,6 +43,7 @@ scriptbin: $(SCRIPTPROGRAMS)
|
|||
%$(EXEEXT): bin/% $(STUBPROGRAM)
|
||||
$(ECHO) generating $@
|
||||
$(Q) { cat $(STUBPROGRAM); echo; sed -e '1{' -e '/^#!.*ruby/!i\' -e '#!/bin/ruby' -e '}' $<; } > $@
|
||||
$(Q) chmod +x $@
|
||||
|
||||
$(LIBRUBY): $(RUBY_EXP) $(LIBRUBY_SO)
|
||||
$(RUBY_EXP) $(LIBRUBY_SO): $(DLL_BASE_NAME).res.@OBJEXT@
|
||||
|
|
Загрузка…
Ссылка в новой задаче