ruby-changes:36603
From: nobu <ko1@a...>
Date: Tue, 2 Dec 2014 16:06:52 +0900 (JST)
Subject: [ruby-changes:36603] nobu:r48684 (trunk): common.mk: html
nobu 2014-12-02 16:06:45 +0900 (Tue, 02 Dec 2014) New Revision: 48684 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48684 Log: common.mk: html * common.mk (html): target to generate HTML form documentation. Modified files: trunk/common.mk Index: common.mk =================================================================== --- common.mk (revision 48683) +++ common.mk (revision 48684) @@ -29,6 +29,7 @@ LIBRUBY_EXTS = ./.libruby-with-ext.time https://github.com/ruby/ruby/blob/trunk/common.mk#L29 REVISION_H = ./.revision.time PLATFORM_D = ./$(PLATFORM_DIR)/.time RDOCOUT = $(EXTOUT)/rdoc +HTMLOUT = $(EXTOUT)/html CAPIOUT = doc/capi INITOBJS = dmyext.$(OBJEXT) dmyenc.$(OBJEXT) @@ -424,6 +425,10 @@ rdoc: PHONY main https://github.com/ruby/ruby/blob/trunk/common.mk#L425 @echo Generating RDoc documentation $(Q) $(XRUBY) "$(srcdir)/bin/rdoc" --root "$(srcdir)" --page-dir "$(srcdir)/doc" --encoding=UTF-8 --no-force-update --all --ri --op "$(RDOCOUT)" --debug $(RDOCFLAGS) "$(srcdir)" +html: PHONY main + @echo Generating RDoc HTML files + $(Q) $(XRUBY) "$(srcdir)/bin/rdoc" --root "$(srcdir)" --page-dir "$(srcdir)/doc" --encoding=UTF-8 --no-force-update --all --op "$(HTMLOUT)" --debug $(RDOCFLAGS) "$(srcdir)" + rdoc-coverage: PHONY main @echo Generating RDoc coverage report $(Q) $(XRUBY) "$(srcdir)/bin/rdoc" --root "$(srcdir)" --encoding=UTF-8 --all --quiet -C $(RDOCFLAGS) "$(srcdir)" @@ -469,11 +474,12 @@ clean-ext:: PHONY https://github.com/ruby/ruby/blob/trunk/common.mk#L474 clean-golf: PHONY $(Q)$(RM) $(GORUBY)$(EXEEXT) $(GOLFOBJS) clean-rdoc: PHONY +clean-html: PHONY clean-capi: PHONY clean-platform: PHONY clean-extout: PHONY -$(Q)$(RMDIR) $(EXTOUT)/$(arch) $(EXTOUT) 2> $(NULL) || exit 0 -clean-docs: clean-rdoc clean-capi +clean-docs: clean-rdoc clean-html clean-capi distclean: distclean-ext distclean-local distclean-enc distclean-golf distclean-extout distclean-platform distclean-local:: clean-local @@ -483,6 +489,7 @@ distclean-local:: clean-local https://github.com/ruby/ruby/blob/trunk/common.mk#L489 distclean-ext:: PHONY distclean-golf: clean-golf distclean-rdoc: PHONY +distclean-html: PHONY distclean-capi: PHONY distclean-extout: clean-extout distclean-platform: clean-platform @@ -509,6 +516,10 @@ clean-rdoc distclean-rdoc realclean-rdoc https://github.com/ruby/ruby/blob/trunk/common.mk#L516 @echo $(@:-rdoc=ing) rdoc $(Q)$(RMALL) $(RDOCOUT) +clean-html distclean-html realclean-html: + @echo $(@:-html=ing) HTML + $(Q)$(RMALL) $(HTMLOUT) + clean-capi distclean-capi realclean-capi: @echo $(@:-capi=ing) capi $(Q)$(RMALL) $(CAPIOUT) @@ -601,7 +612,7 @@ $(ENC_MK): $(srcdir)/enc/make_encmake.rb https://github.com/ruby/ruby/blob/trunk/common.mk#L612 .PHONY: PHONY all fake prereq incs srcs preludes help .PHONY: test install install-nodoc install-doc dist .PHONY: loadpath golf capi rdoc install-prereq clear-installed-list -.PHONY: clean clean-ext clean-local clean-enc clean-golf clean-rdoc clean-extout +.PHONY: clean clean-ext clean-local clean-enc clean-golf clean-rdoc clean-html clean-extout .PHONY: distclean distclean-ext distclean-local distclean-enc distclean-golf distclean-extout .PHONY: realclean realclean-ext realclean-local realclean-enc realclean-golf realclean-extout .PHONY: check test test-all btest btest-ruby test-sample test-knownbug -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/