From 8bfc46a9a3ba16f58aa68d8191048df7f0720f04 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sat, 7 Sep 2019 11:59:19 +0900 Subject: [PATCH] Fixed wrong usage of file2lastrev.rb --- common.mk | 2 +- template/Doxyfile.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common.mk b/common.mk index 064b3f341b..c8abc1c97a 100644 --- a/common.mk +++ b/common.mk @@ -1101,7 +1101,7 @@ $(srcdir)/revision.h: revision.tmp:: $(Q)exit > $@ revision.$(HAVE_BASERUBY:yes=tmp):: $(srcdir)/version.h $(srcdir)/tool/file2lastrev.rb $(REVISION_FORCE) - $(Q) $(BASERUBY) $(srcdir)/tool/file2lastrev.rb -q --revision.h "$(srcdir)" > $@ + $(Q) $(BASERUBY) $(srcdir)/tool/file2lastrev.rb -q --revision.h --srcdir="$(srcdir)" > $@ $(REVISION_H): revision.tmp $(Q)$(IFCHANGE) "--timestamp=$@" "$(srcdir)/revision.h" revision.tmp diff --git a/template/Doxyfile.tmpl b/template/Doxyfile.tmpl index 2fc882edd9..a16e43bc65 100644 --- a/template/Doxyfile.tmpl +++ b/template/Doxyfile.tmpl @@ -21,7 +21,7 @@ have_dot = dot.empty? ? "NO" : "YES" PROJECT_NAME = Ruby PROJECT_NUMBER = <%=RUBY_VERSION%><%= RUBY_PATCHLEVEL < 0 ? 'dev' : "p#{RUBY_PATCHLEVEL}" %> (<%=RUBY_RELEASE_DATE%> revision <%=RUBY_REVISION%>) STRIP_FROM_PATH = <%=srcdir%> -FILE_VERSION_FILTER = "<%=miniruby%> <%=srcdir%>/tool/file2lastrev.rb -q" +FILE_VERSION_FILTER = "<%=miniruby%> <%=srcdir%>/tool/file2lastrev.rb -q --srcdir=<%=srcdir%>" INPUT = <%=srcdir%> . INPUT_FILTER = "<%=miniruby%> <%=srcdir%>/tool/strip-rdoc.rb"