summaryrefslogtreecommitdiffstats
path: root/instruby.rb
Commit message (Collapse)AuthorAgeFilesLines
* * instruby.rb: expand source library path.nobu2005-07-051-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: add {pre,post}-install targets.nobu2005-03-031-0/+15
| | | | | | | | | | * instruby.rb (install?): install particular part. * bcc32/Makefile.sub (post-install-ext): remove debug information files after installation. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb (install): add arguments explicitly to "super".eban2004-11-301-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb, rubytest.rb: do not depend on srcdir.eban2004-03-181-2/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5973 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: http://svn.ruby-lang.org/repos/ruby/trunk@5830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb (parse_args): use optparse instead of getopts.nobu2004-02-231-34/+33
| | | | | | | | * instruby.rb (DOSISH): embedded path in batch files should not be prefixed by DESTDIR. [ruby-core:02186] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: fix install directory if destdir and compile_dir areusa2003-12-281-7/+17
| | | | | | | | | | | | | not in the same drive. * ext/extmk.rb: ditto. * win32/Makefile.sub, win32/README.win32, win32/configure.bat, win32/setup.mak: new configure scheme. use ``configure --prefix=dir'' instead of ``nmake DESTDIR=dir install''. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5336 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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@4204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby: do not handle directories. [ruby-dev:20613]eban2003-07-111-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: refactoring.eban2003-07-091-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@3411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* *** empty log message ***nobu2003-01-251-1/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@3408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* wrong fix.nobu2003-01-221-2/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@3233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: use getopts.rb.eban2002-12-271-11/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: fileutils.rb accepts only one argument.aamine2002-12-271-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@3059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Oops, I mean ruby_install_name.knu2002-11-181-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@3055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bin/irb: Moved from sample/irb.rb.knu2002-11-181-1/+7
| | | | | | | | * instruby.rb: Install script files under bin/ with ruby's program prefix and suffix. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (LIBRUBY_A): append -static. [ruby-dev:18689]nobu2002-11-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in (LIBRUBYARG_STATIC, LIBRUBYARG_SHARED): linker argument to link static/shared library respectively. * Makefile.in (LIBRUBYARG_STATIC, LIBRUBYARG_SHARED): added. * bcc32/Makefile.sub, win32/Makefile.sub: ditto. * instruby.rb (LIBRUBY_A): install to libdir. * lib/mkmf.rb (link_command): link static library of ruby, or try_run fails unless LIBRUBY_SO is installed. [ruby-dev:18646] * eval.c (call_trace_func): toplevel caller was missing. [ruby-dev:18754] * eval.c (proc_to_s): adjust created line number. * parse.y (primary, do_block, brace_block): adjust line number of block to beginning line, instead of the first statement inside the block. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb, lib/mkmf.rb: use CONFIG["ENABLE_SHARED"] instead ofusa2002-11-041-1/+1
| | | | | | | checking whether CONFIG["configure-args"] includes "--enable-shared". git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (LIBPATHFLAG): should escape $. [ruby-dev:18572]nobu2002-10-231-2/+5
| | | | | | | | | | * mkconfig.rb: never substute escaped $$. * instruby.rb: not install LIBRUBY_SO unless enable-shared. [ruby-dev:18569] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: add dryrun mode.nobu2002-10-221-65/+83
| | | | | | | | | | | | | | | | | | | | | | * ext/extmk.rb (extmake): avoid Borland make's quirk behavior. * lib/mkmf.rb (link_command): opt is not a makefile macro. * bcc32/Makefile.sub ($(LIBRUBY_SO) $(LIBRUBY)): EXTOBJS were not linked. * bcc32/Makefile.sub (ext/extinit.obj): missing. * bcc32/Makefile.sub (TRY_LINK): options have to place before any non-option arguments. * win32/Makefile.sub (TRY_LINK): need -link and -libpath options. * bcc32/Makefile.sub, win32/Makefile.sub (RANLIB): logical operator never work with command.com. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: modify program_prefix only if specifiedeban2002-09-081-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | --program-prefix. * configure.in: don't generate ext/extmk.rb. * Makefile.in: execute directly $(srcdir)/ext/extmk.rb. remove -Cext option, "Dir::chdir 'ext'" in ext/extmk.rb. * {win32,bccwin32}/Makefile.sub: ditto. * instruby.rb: ditto. * ext/extmk.rb: renamed from ext/extmk.rb.in. * lib/mkmf.rb (module Logging): create log files (mkmf.log) in each extension module directories. * ext/extmk.rb: ditto. * lib/mkmf.rb (macro_defined?): new method. * ext/.cvsignore: remove extmk.rb. * ext/*/.cvsignore: add "*.def". git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: arch -> sitearcheban2002-08-231-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* new platform [bccwin32] merged.H_Konishi2002-06-111-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Install help-message's too.knu2001-04-301-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matzmatz2000-12-181-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ebaneban2000-09-041-3/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e