1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* common.mk (revision.h): uses tool/file2lastrev.rb to support

git-svn.

* version.h: changed version string as
  `ruby 1.9.1 (2008-12-22 patchlevel-5000 trunk 20912)
  [i386-darwin9.6.0]'.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
yugui 2008-12-22 13:19:17 +00:00
parent c09e5abeee
commit 8f79efe0be
3 changed files with 19 additions and 15 deletions

View file

@ -1,3 +1,12 @@
Mon Dec 22 19:31:19 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* common.mk (revision.h): uses tool/file2lastrev.rb to support
git-svn.
* version.h: changed version string as
`ruby 1.9.1 (2008-12-22 patchlevel-5000 trunk 20912)
[i386-darwin9.6.0]'.
Mon Dec 22 15:56:49 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* Doxyfile.in: new file. Template of a configuration file.

View file

@ -684,10 +684,8 @@ prereq: incs srcs preludes
preludes: {$(VPATH)}miniprelude.c
preludes: {$(srcdir)}golf_prelude.c
$(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"
$(srcdir)/revision.h: $(srcdir)/version.h $(srcdir)/ChangeLog $(srcdir)/tool/file2lastrev.rb $(REVISION_FORCE)
$(BASERUBY) $(srcdir)/tool/file2lastrev.rb --revision.h "$(@D)" > "$@.tmp"
@$(IFCHANGE) "$@" "$@.tmp"
$(srcdir)/ext/ripper/ripper.c:

View file

@ -1,6 +1,7 @@
#define RUBY_VERSION "1.9.1"
#define RUBY_RELEASE_DATE "2008-12-22"
#define RUBY_PATCHLEVEL 5000
#define RUBY_BRANCH_NAME "trunk"
#define RUBY_VERSION_MAJOR 1
#define RUBY_VERSION_MINOR 9
@ -30,19 +31,15 @@ RUBY_EXTERN const char ruby_copyright[];
#define RUBY_REVISION 0
#endif
#if RUBY_PATCHLEVEL && RUBY_PATCHLEVEL < 5000
#define RUBY_PATCHLEVEL_STR " patchlevel "STRINGIZE(RUBY_PATCHLEVEL)
#else
#define RUBY_PATCHLEVEL_STR ""
#endif
#define RUBY_PATCHLEVEL_STR " patchlevel-"STRINGIZE(RUBY_PATCHLEVEL)
#if RUBY_REVISION
#ifdef RUBY_BRANCH_NAME
#define RUBY_REVISION_STR " "RUBY_BRANCH_NAME" "STRINGIZE(RUBY_REVISION)
# ifdef RUBY_BRANCH_NAME
# define RUBY_REVISION_STR " "RUBY_BRANCH_NAME" "STRINGIZE(RUBY_REVISION)
# else
# define RUBY_REVISION_STR " revision "STRINGIZE(RUBY_REVISION)
# endif
#else
#define RUBY_REVISION_STR " revision "STRINGIZE(RUBY_REVISION)
#endif
#else
#define RUBY_REVISION_STR ""
# define RUBY_REVISION_STR ""
#endif
# define RUBY_DESCRIPTION \