mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* common.mk (INSTRUBY_ARGS): added --mantype to apply mdoc2man.rb
to man pages. Fixes #5598. (do-install-nodoc, do-install-local, do-install-man, dont-install-nodoc, dont-install-local, dont-install-man): No longer needs --mantype. Reported by Rainer Orth <ro AT cebitec.uni-bielefeld.de>, patch by George Koehler <xkernigh AT netscape.net>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
81ef9c66b7
commit
0f7e05a0a2
2 changed files with 19 additions and 7 deletions
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
|||
Tue Nov 29 00:08:57 2011 Yuki Sonoda (Yugui) <yugui@yugui.jp>
|
||||
|
||||
* common.mk (INSTRUBY_ARGS): added --mantype to apply mdoc2man.rb
|
||||
to man pages. Fixes #5598.
|
||||
(do-install-nodoc, do-install-local, do-install-man,
|
||||
dont-install-nodoc, dont-install-local, dont-install-man):
|
||||
No longer needs --mantype.
|
||||
|
||||
Reported by Rainer Orth <ro AT cebitec.uni-bielefeld.de>,
|
||||
patch by George Koehler <xkernigh AT netscape.net>.
|
||||
|
||||
Mon Nov 28 22:26:31 2011 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* test/rake/test_rake_directory_task.rb
|
||||
|
|
15
common.mk
15
common.mk
|
@ -123,7 +123,8 @@ INSTRUBY = $(SUDO) $(MINIRUBY) $(srcdir)/tool/rbinstall.rb
|
|||
INSTRUBY_ARGS = $(SCRIPT_ARGS) \
|
||||
--data-mode=$(INSTALL_DATA_MODE) \
|
||||
--prog-mode=$(INSTALL_PROG_MODE) \
|
||||
--installed-list $(INSTALLED_LIST)
|
||||
--installed-list $(INSTALLED_LIST) \
|
||||
--mantype="$(MANTYPE)"
|
||||
INSTALL_PROG_MODE = 0755
|
||||
INSTALL_DATA_MODE = 0644
|
||||
|
||||
|
@ -239,13 +240,13 @@ post-install-all:: post-install-local post-install-ext post-install-doc
|
|||
install-nodoc: pre-install-nodoc do-install-nodoc post-install-nodoc
|
||||
pre-install-nodoc:: pre-install-local pre-install-ext
|
||||
do-install-nodoc: $(PREP)
|
||||
$(INSTRUBY) --make="$(MAKE)" $(INSTRUBY_ARGS) --mantype="$(MANTYPE)"
|
||||
$(INSTRUBY) --make="$(MAKE)" $(INSTRUBY_ARGS)
|
||||
post-install-nodoc:: post-install-local post-install-ext
|
||||
|
||||
install-local: pre-install-local do-install-local post-install-local
|
||||
pre-install-local:: pre-install-bin pre-install-lib pre-install-man
|
||||
do-install-local: $(PREP)
|
||||
$(INSTRUBY) --make="$(MAKE)" $(INSTRUBY_ARGS) --install=local --mantype="$(MANTYPE)"
|
||||
$(INSTRUBY) --make="$(MAKE)" $(INSTRUBY_ARGS) --install=local
|
||||
post-install-local:: post-install-bin post-install-lib post-install-man
|
||||
|
||||
install-ext: pre-install-ext do-install-ext post-install-ext
|
||||
|
@ -297,7 +298,7 @@ post-install-ext-arch::
|
|||
install-man: pre-install-man do-install-man post-install-man
|
||||
pre-install-man:: install-prereq
|
||||
do-install-man: $(PREP)
|
||||
$(INSTRUBY) --make="$(MAKE)" $(INSTRUBY_ARGS) --install=man --mantype="$(MANTYPE)"
|
||||
$(INSTRUBY) --make="$(MAKE)" $(INSTRUBY_ARGS) --install=man
|
||||
post-install-man::
|
||||
@$(NULLCMD)
|
||||
|
||||
|
@ -322,14 +323,14 @@ what-where-nodoc: no-install-nodoc
|
|||
no-install-nodoc: pre-no-install-nodoc dont-install-nodoc post-no-install-nodoc
|
||||
pre-no-install-nodoc:: pre-no-install-local pre-no-install-ext
|
||||
dont-install-nodoc: $(PREP)
|
||||
$(INSTRUBY) -n --make="$(MAKE)" $(INSTRUBY_ARGS) --mantype="$(MANTYPE)"
|
||||
$(INSTRUBY) -n --make="$(MAKE)" $(INSTRUBY_ARGS)
|
||||
post-no-install-nodoc:: post-no-install-local post-no-install-ext
|
||||
|
||||
what-where-local: no-install-local
|
||||
no-install-local: pre-no-install-local dont-install-local post-no-install-local
|
||||
pre-no-install-local:: pre-no-install-bin pre-no-install-lib pre-no-install-man
|
||||
dont-install-local: $(PREP)
|
||||
$(INSTRUBY) -n --make="$(MAKE)" $(INSTRUBY_ARGS) --install=local --mantype="$(MANTYPE)"
|
||||
$(INSTRUBY) -n --make="$(MAKE)" $(INSTRUBY_ARGS) --install=local
|
||||
post-no-install-local:: post-no-install-bin post-no-install-lib post-no-install-man
|
||||
|
||||
what-where-ext: no-install-ext
|
||||
|
@ -389,7 +390,7 @@ what-where-man: no-install-man
|
|||
no-install-man: pre-no-install-man dont-install-man post-no-install-man
|
||||
pre-no-install-man:: install-prereq
|
||||
dont-install-man: $(PREP)
|
||||
$(INSTRUBY) -n --make="$(MAKE)" $(INSTRUBY_ARGS) --install=man --mantype="$(MANTYPE)"
|
||||
$(INSTRUBY) -n --make="$(MAKE)" $(INSTRUBY_ARGS) --install=man
|
||||
post-no-install-man::
|
||||
@$(NULLCMD)
|
||||
|
||||
|
|
Loading…
Reference in a new issue