summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-29 05:36:53 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-29 05:36:53 +0000
commitea1f71b81f7e0c6f958abb50da6ade0da64cd718 (patch)
treea0a18fad37a8380fb08991df6a1baca1a1178b82
parente8e9ddda66bb5e63f00a28c52bab88b7b7c050a2 (diff)
downloadruby-ea1f71b81f7e0c6f958abb50da6ade0da64cd718.tar.gz
ruby-ea1f71b81f7e0c6f958abb50da6ade0da64cd718.tar.xz
ruby-ea1f71b81f7e0c6f958abb50da6ade0da64cd718.zip
* common.mk (revision.h): have to be updated daily or by non-trivial
commits. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--common.mk2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c12b5943d..ff267517f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Oct 29 14:36:50 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * common.mk (revision.h): have to be updated daily or by non-trivial
+ commits.
+
Wed Oct 29 13:18:02 2008 Akinori MUSHA <knu@iDaemons.org>
* README, README.ja: Update the portability section.
diff --git a/common.mk b/common.mk
index 39d9ce830..ca4b6c60a 100644
--- a/common.mk
+++ b/common.mk
@@ -671,7 +671,7 @@ prereq: incs srcs preludes
preludes: {$(VPATH)}miniprelude.c
preludes: {$(srcdir)}golf_prelude.c
-$(srcdir)/revision.h: $(REVISION_FORCE)
+$(srcdir)/revision.h: $(srcdir)/version.h $(srcdir)/ChangeLog $(REVISION_FORCE)
@set LC_MESSAGES=C
-@$(SET_LC_MESSAGES) $(VCS) info "$(@D)" | \
sed -n "s/.*Rev:/#define RUBY_REVISION/p" > "$@.tmp"