rdoc-srcdir can refer srcdir by itself
This commit is contained in:
parent
2bfa49f288
commit
667e938f1d
Notes:
git
2025-01-15 07:53:18 +00:00
@ -64,7 +64,7 @@ LIBRUBY_EXTS = ./.libruby-with-ext.time
|
|||||||
REVISION_H = ./.revision.time
|
REVISION_H = ./.revision.time
|
||||||
PLATFORM_D = $(TIMESTAMPDIR)/.$(PLATFORM_DIR).time
|
PLATFORM_D = $(TIMESTAMPDIR)/.$(PLATFORM_DIR).time
|
||||||
ENC_TRANS_D = $(TIMESTAMPDIR)/.enc-trans.time
|
ENC_TRANS_D = $(TIMESTAMPDIR)/.enc-trans.time
|
||||||
RDOC = $(XRUBY) "$(tooldir)/rdoc-srcdir" $(srcdir)
|
RDOC = $(XRUBY) "$(tooldir)/rdoc-srcdir"
|
||||||
RDOCOUT = $(EXTOUT)/rdoc
|
RDOCOUT = $(EXTOUT)/rdoc
|
||||||
HTMLOUT = $(EXTOUT)/html
|
HTMLOUT = $(EXTOUT)/html
|
||||||
CAPIOUT = doc/capi
|
CAPIOUT = doc/capi
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!ruby -W0
|
#!ruby -W0
|
||||||
|
|
||||||
rdoc_path = Dir.glob("#{ARGV[0]}/.bundle/gems/rdoc-*").first
|
rdoc_path = Dir.glob("#{File.dirname(__dir__)}/.bundle/gems/rdoc-*").first
|
||||||
$LOAD_PATH.unshift("#{rdoc_path}/lib")
|
$LOAD_PATH.unshift("#{rdoc_path}/lib")
|
||||||
require 'rdoc/rdoc'
|
require 'rdoc/rdoc'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user