1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/template/Doxyfile.tmpl
nobu 42e0d76c25 * 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
2009-02-02 23:10:28 +00:00

22 lines
769 B
Cheetah

# 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"