aboutsummaryrefslogtreecommitdiffstats
path: root/instruby.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merge from ruby_1_8.knu2008-05-291-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb (open_for_install): write block result and rewrite onlynobu2008-03-211-8/+12
| | | | | | | if changed from existing file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb (parse_args): added --dir-mode, --script-mode andnobu2008-02-201-44/+86
| | | | | | | | | | | | | | | | | | | | | --cmd-type options. [ruby-dev:33816] * instruby.rb (parse_args): added bin-arch and bin-comm to install type, for compiled files and script files. * instruby.rb (parse_args): deal with make style command line macros, and count as long syle options if prefixed with INSTALL_. * instruby.rb (makedirs): use $dir_mode. [ruby-dev:33805] * instruby.rb (open_for_install): set file mode, which is now permission mode instead of access mode. * instruby.rb (bin-comm): installs scripts with replacing shebang lines. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (INSTRUBY_ARGS): pass mode to install. [ruby-dev:33766]nobu2008-02-131-15/+23
| | | | | | | * instruby.rb (parse_args): added --data-mode and --prog-mode options. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb, mkconfig.rb, rubytest.rb, bcc32/mkexports.rb, ↵nobu2006-12-211-0/+0
| | | | | | win32/{resource,mkexports}.rb: set executable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: for cross compile.usa2006-10-021-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: batfile should be CRLF'ed.usa2006-10-021-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: include FileUtils unconditionally.nobu2006-09-211-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (no-install): not install rdoc actually.nobu2006-09-211-6/+25
| | | | | | | | | | | * common.mk (install-doc, no-install-doc): use instruby.rb. * instruby.rb: rdoc installation. * ext/extmk.rb: expand ruby executable names. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (install-doc): reverted.nobu2006-09-171-68/+100
| | | | | | | | | * instruby.rb: stores file name list without destdir prefix. * lib/rdoc/generators/ri_generator.rb: do not chdir twice. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, common.in, instruby.rb, ext/extmk.rb, lib/mkmf.rb:nobu2006-09-161-65/+124
| | | | | | | | | use instruby.rb to install extensions instead of ext/extmk.rb. * instruby.rb: store installed list into the file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: install *.exe.manifest and *.dll.manifest if exist.usa2006-02-241-18/+29
| | | | | | | It's for VC++8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: expand source library path.nobu2005-07-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: commit miss.nobu2005-03-301-17/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,nobu2005-03-301-15/+49
| | | | | | | | common.mk, configure.in, ext/extmk.rb, lib/mkmf.rb, instruby.rb, runruby.rb: backport extout. [ruby-dev:25963] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb, rubytest.rb (srcdir): no longer embed srcdir intousa2005-02-061-2/+3
| | | | | | | | | | | | | | | rbconfig.rb. (backported from CVS HEAD) * ext/socket/extconf.rb (sockaddr_storage): winsock2.h have the definition of struct sockaddr_storage, but socket.c doesn't include it because this version of ruby still has binary level compatibility with winsock1. * lib/mkmf.rb (create_makefile): should support header files in depend file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb (with_destdir): should return the given argument if nonobu2004-02-251-2/+3
| | | | | | | | | DESTDIR is given. * instruby.rb: use path name expansion of cmd.exe. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb (DOSISH): embedded path in batch files should not benobu2004-02-231-11/+18
| | | | | | | prefixed by DESTDIR. [ruby-core:02186] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/curses.c (_XOPEN_SOURCE_EXTENDED): Mac OS X standardnobu2003-08-181-3/+3
| | | | | | | | | | | | | | | headers are inconsistent at this macro. [ruby-core:01432] * ext/curses/extconf.rb: check if _XOPEN_SOURCE_EXTENDED breaks. * ext/tcltklib/stubs.c: Status macro in X11/Xthreads.h bothers winspool.h * instruby.rb: make list at first instead of iterator. [ruby-talk:79347] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (install): support preserve timestamp.eban2003-07-291-5/+1
| | | | | | | | | | | * instruby.rb (install): use FileUtils::install preserve mode. * lib/un.rb: new. % ruby -run -e cp -- -p foo bar * lib/mkmf.rb: use un.rb instead of ftools.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb (install): preserve the timestamp for Mac OS X ranlib problem.eban2003-07-291-7/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby: do not handle directories. [ruby-dev:20613]eban2003-07-111-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: refactoring.eban2003-07-091-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: do not install shared libraries as man pages.eban2003-07-091-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb: use hashes to pass options.aamine2003-05-021-17/+17
| | | | | | | | * lib/fileutils.rb: new option mkdir(:mode), mkdir_p(:mode). * instruby.rb: follow fileutils.rb feature change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb, ext/extmk.rb, lib/benchmark.rb, lib/cgi.rb,akr2003-03-291-1/+1
| | | | | | | | | lib/debug.rb, lib/getoptlong.rb, lib/optparse.rb, lib/time.rb, lib/date/format.rb, lib/irb/ruby-lex.rb lib/uri/common.rb: revert escape for `-' in character class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regex.c (re_compile_pattern): fix previous change.akr2003-03-211-1/+1
| | | | | | | | | | | * instruby.rb, ext/extmk.rb, ext/tk/lib/tk.rb, lib/benchmark.rb, lib/cgi.rb, lib/debug.rb, lib/getoptlong.rb, lib/jcode.rb, lib/optparse.rb, lib/time.rb, lib/date/format.rb, lib/irb/ruby-lex.rb: escape `[', `]', `-' in chracter class in regexp to avoid warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (mkdir, mkdir_p): revert.eban2003-03-091-1/+1
| | | | | | | * instruby.rb (umask): umask 0022, not 0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This '$destdir' was meant to be a local variable.knu2003-02-201-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb (parse_args), ext/extmk.rb (parse_args): Prepend aknu2003-01-271-17/+9
| | | | | | | | hyphen to the first argument of MAKEFLAGS only if appropriate. Remove wrong comments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb ($mflags.set?): Check $make instead of $nmake, sinseusa2003-01-261-1/+2
| | | | | | | | | | there is no such a variable. * instruby.rb ($mflags.set?), ext/extmk.rb ($mflags.set?): Return false if unmatched. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb (parse_args), ext/extmk.rb (parse_args): Detect -nknu2003-01-261-6/+16
| | | | | | | | and emulate a dry run. Use 'make' in case no --make argument is given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb (makedirs): make same directory only once even ifnobu2003-01-251-2/+13
| | | | | | | dryrun. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* *** empty log message ***nobu2003-01-251-1/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb, ext/extmk.rb, Makefile.in, win32/Makefile.sub,knu2003-01-251-23/+45
| | | | | | | | | | | | bcc32/Makefile.sub: Replace the complicated MFLAGS/MAKEFLAGS parser with something plain and comprehensible. This fixes a bug where make flags were wrongly reordered and the resulted command line often did not make sense especially when BSD make is used with extra arguments given. Tested with FreeBSD and Linux by me and mswin32, bccwin32 and mingw by usa. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* wrong fix.nobu2003-01-221-2/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: should not contain destdir in shebang line.nobu2003-01-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: use real interpreter pathname at shebang line.usa2003-01-211-14/+23
| | | | | | | [ruby-dev:19370] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (MANTYPE): Detect if the system's nroff(1) groksknu2003-01-201-5/+31
| | | | | | | | | | | | | | mdoc. Provide a new option --with-mantype={doc|man} in case the check does not work as expected. * Makefile.in (MANTYPE): Define MANTYPE and pass it to instruby.rb. * instruby.rb: Convert mdoc manpages to man for systems which nroff(1) does not grok mdoc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: need paren in regexp(make -n install).eban2003-01-051-3/+3
| | | | | | | | | | | | | * ext/extmk.rb (sysquote): do not need to quote on mswin/bccwin/mingw. * ext/extm.rb ($mflags): uniq items and remove '-' and '--'. move options to the lead. * lib/fileutils.rb (install): model on the real install command(message). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb: split --make argument contains options, assumenobu2002-12-301-3/+7
| | | | | | | | | | | | | | the first word of --make-flags is always options even unless preceeded by -, and ignore letter-case of options if nmake. * instruby.rb: extract -n option also from --make and --make-flags. * bcc32/Makefile.sub, win32/Makefile.sub: not prepend - to $(MFLAGS) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: remove junk args.eban2002-12-281-0/+1
| | | | | | | | | * lib/mkmf.rb (create_makefile): remove a trouble library before making a shared library. * win32/Makefile.sub: invoke instruby.rb with the --make-flags option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: use getopts.rb.eban2002-12-271-11/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: fileutils.rb accepts only one argument.aamine2002-12-271-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: check only `-' option, and use fileutils instead ofnobu2002-12-261-57/+30
| | | | | | | ftools. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: Install batch files on Windows. [Submitted by usa]knu2002-11-221-4/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: Do not install various working files under bin/.knu2002-11-181-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: not rewrite installed scripts when dry-run mode.nobu2002-11-181-1/+1
| | | | | | | | * lib/ostruct.rb (OpenStruct::initialize): should symbolize keys instead of values. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Oops, I mean ruby_install_name.knu2002-11-181-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: Rewrite installed scripts' shebang lines.knu2002-11-181-10/+21
| | | | | | | * instruby.rb: Use File.join() where appropriate. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e