mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
209cfdcfb5
commit
42e0d76c25
6 changed files with 34 additions and 10 deletions
|
@ -1,3 +1,9 @@
|
|||
Tue Feb 3 08:10:23 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* common.mk (Doxyfile): moved from Makefile.in.
|
||||
|
||||
* template/Doxyfile.tmpl: split from Doxyfile.in.
|
||||
|
||||
Tue Feb 3 08:01:38 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* win32/win32.c (rb_w32_write): use of cast expressions as lvalues
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
#---------------------------------------------------------------------------
|
||||
DOXYFILE_ENCODING = UTF-8
|
||||
PROJECT_NAME = Ruby
|
||||
PROJECT_NUMBER = @MAJOR@.@MINOR@.@TEENY@
|
||||
OUTPUT_DIRECTORY = doc/capi
|
||||
CREATE_SUBDIRS = NO
|
||||
OUTPUT_LANGUAGE = English
|
||||
|
@ -15,7 +14,6 @@ ABBREVIATE_BRIEF =
|
|||
ALWAYS_DETAILED_SEC = YES
|
||||
INLINE_INHERITED_MEMB = NO
|
||||
FULL_PATH_NAMES = YES
|
||||
STRIP_FROM_PATH = @srcdir@
|
||||
STRIP_FROM_INC_PATH =
|
||||
SHORT_NAMES = NO
|
||||
JAVADOC_AUTOBRIEF = YES
|
||||
|
@ -69,7 +67,6 @@ SHOW_USED_FILES = YES
|
|||
SHOW_DIRECTORIES = NO
|
||||
SHOW_FILES = YES
|
||||
SHOW_NAMESPACES = YES
|
||||
FILE_VERSION_FILTER = "@MINIRUBY@ @srcdir@/tool/file2lastrev.rb -q"
|
||||
LAYOUT_FILE =
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to warning and progress messages
|
||||
|
@ -84,19 +81,17 @@ WARN_LOGFILE =
|
|||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the input files
|
||||
#---------------------------------------------------------------------------
|
||||
INPUT = @srcdir@
|
||||
INPUT_ENCODING = UTF-8
|
||||
FILE_PATTERNS = *.c *.h *.y
|
||||
RECURSIVE = YES
|
||||
EXCLUDE = newline.c
|
||||
EXCLUDE_SYMLINKS = NO
|
||||
EXCLUDE_SYMLINKS = YES
|
||||
EXCLUDE_PATTERNS = *.src doc build tmp test yarvtest lib bootstraptest spec .ext .git .svn
|
||||
EXCLUDE_SYMBOLS =
|
||||
EXAMPLE_PATH =
|
||||
EXAMPLE_PATTERNS =
|
||||
EXAMPLE_RECURSIVE = NO
|
||||
IMAGE_PATH =
|
||||
INPUT_FILTER = "@MINIRUBY@ @srcdir@/tool/strip-rdoc.rb"
|
||||
FILTER_PATTERNS =
|
||||
FILTER_SOURCE_FILES = YES
|
||||
#---------------------------------------------------------------------------
|
||||
|
@ -143,7 +138,7 @@ QHP_VIRTUAL_FOLDER = doc
|
|||
QHG_LOCATION =
|
||||
DISABLE_INDEX = NO
|
||||
ENUM_VALUES_PER_LINE = 4
|
||||
GENERATE_TREEVIEW = NONE
|
||||
GENERATE_TREEVIEW = NO
|
||||
TREEVIEW_WIDTH = 250
|
||||
FORMULA_FONTSIZE = 10
|
||||
#---------------------------------------------------------------------------
|
||||
|
|
|
@ -166,8 +166,6 @@ fake.rb: Makefile
|
|||
' > $@
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(srcdir)/enc/Makefile.in
|
||||
Doxyfile: $(srcdir)/Doxyfile.in config.status
|
||||
MAKE=$(MAKE) $(SHELL) ./config.status
|
||||
|
||||
$(MKFILES): config.status
|
||||
MAKE=$(MAKE) $(SHELL) ./config.status
|
||||
|
|
|
@ -141,6 +141,10 @@ capi: Doxyfile PHONY
|
|||
@$(MAKEDIRS) doc/capi
|
||||
@doxygen
|
||||
|
||||
Doxyfile: $(srcdir)/template/Doxyfile.tmpl $(PREP) $(srcdir)/tool/generic_erb.rb $(srcdir)/template/Doxyfile.tmpl $(RBCONFIG)
|
||||
$(MINIRUBY) $(srcdir)/tool/generic_erb.rb -o $@ $(srcdir)/template/Doxyfile.tmpl \
|
||||
--srcdir="$(srcdir)" --miniruby="$(MINIRUBY)"
|
||||
|
||||
program: $(PROGRAM)
|
||||
|
||||
$(PROGRAM): $(LIBRUBY) $(MAINOBJ) $(OBJS) $(EXTOBJS) $(SETUP) $(PREP)
|
||||
|
|
|
@ -2171,7 +2171,6 @@ AC_SUBST(BUILTIN_TRANSOBJS)
|
|||
PACKAGE=$RUBY_INSTALL_NAME
|
||||
AC_SUBST(PACKAGE)
|
||||
|
||||
AC_CONFIG_FILES(Doxyfile)
|
||||
AC_CONFIG_FILES($FIRSTMAKEFILE)
|
||||
AC_CONFIG_FILES(Makefile, [{
|
||||
if test -d "$srcdir/.svn"; then
|
||||
|
|
22
template/Doxyfile.tmpl
Normal file
22
template/Doxyfile.tmpl
Normal file
|
@ -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"
|
Loading…
Reference in a new issue