summaryrefslogtreecommitdiff
path: root/template/Doxyfile.tmpl
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-02 23:10:28 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-02 23:10:28 +0000
commit42e0d76c25a8a3875d194579bf2a795cbac2772d (patch)
tree432b9acb80e365476a55aac609f626246165c2a3 /template/Doxyfile.tmpl
parent209cfdcfb58c5c1a56792edc03388796d506a679 (diff)
* common.mk (Doxyfile): moved from Makefile.in.
* template/Doxyfile.tmpl: split from Doxyfile.in. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template/Doxyfile.tmpl')
-rw-r--r--template/Doxyfile.tmpl22
1 files changed, 22 insertions, 0 deletions
diff --git a/template/Doxyfile.tmpl b/template/Doxyfile.tmpl
new file mode 100644
index 0000000..fd9fcc4
--- /dev/null
+++ b/template/Doxyfile.tmpl
@@ -0,0 +1,22 @@
+# Doxyfile 1.5.7
+<%
+srcdir = miniruby = nil
+opt = OptionParser.new do |o|
+ o.on('--srcdir=SRCDIR') {|v| srcdir = v}
+ o.on('--miniruby=MINIRUBY') {|v| miniruby = v}
+ o.order!(ARGV)
+end
+srcdir ||= File.dirname(File.dirname(__FILE__))
+unless miniruby
+ load 'rbconfig.rb'
+ miniruby = './miniruby$(EXEEXT) -I$(srcdir)/lib -I$(EXTOUT)/common -I./- -r$(srcdir)/ext/purelib.rb'
+ RbConfig.expand(miniruby, RbConfig::CONFIG.merge("srcdir"=>srcdir))
+end
+%>
+@INCLUDE_PATH = <%=srcdir%>
+@INCLUDE = Doxyfile.in
+PROJECT_NUMBER = <%=RUBY_VERSION%>
+STRIP_FROM_PATH = <%=srcdir%>
+FILE_VERSION_FILTER = "<%=miniruby%> <%=srcdir%>/tool/file2lastrev.rb -q"
+INPUT = <%=srcdir%>
+INPUT_FILTER = "<%=miniruby%> <%=srcdir%>/tool/strip-rdoc.rb"