From 6d91bf3b0c423f647094846b8c9ec2c8d9829f9e Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 25 Jan 2008 09:27:30 +0000 Subject: * common.mk (revision.h): extracts revision number with ``svn info''. * common.mk (up): target to update from the repository. * Makefile.in, {win,bcc}32/Makefile.sub (IFCHANGE): tool to update a file if changed. * tool/ifchange: for unixen. * win32/ifchange.bat: some fix git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bcc32/Makefile.sub | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bcc32') diff --git a/bcc32/Makefile.sub b/bcc32/Makefile.sub index f2bb6c7c5e..75214f7b7c 100644 --- a/bcc32/Makefile.sub +++ b/bcc32/Makefile.sub @@ -70,6 +70,7 @@ BASERUBY = ruby PURIFY = AUTOCONF = autoconf +IFCHANGE = $(srcdir:/=\)\win32\ifchange.bat RM = $(srcdir:/=\)\win32\rm.bat CP = copy > nul MV = move > nul @@ -248,7 +249,7 @@ config.status: $(CONFIG_H) $(CONFIG_H): $(MKFILES) $(srcdir)/bcc32/Makefile.sub @if not exist $(arch_hdrdir:/=\) md $(arch_hdrdir:/=\) @if not exist $(arch_hdrdir:/=\)\ruby md $(arch_hdrdir:/=\)\ruby - @$(srcdir:/=\)\win32\ifchange.bat $(RUBY_CONFIG_H:/=\) &&| + @$(IFCHANGE) $(RUBY_CONFIG_H:/=\) &&| \#define HAVE_SYS_TYPES_H 1 \#define HAVE_SYS_STAT_H 1 \#define HAVE_STDLIB_H 1 -- cgit v1.2.3