mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in (RDOCTARGET): new macro. if you want to install
rdoc documentation, you need to run configure with --enable-install-doc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
54d29aaba9
commit
50fe8ab6aa
3 changed files with 20 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
Thu Jan 8 23:49:21 2004 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||||
|
|
||||||
|
* configure.in (RDOCTARGET): new macro. if you want to install
|
||||||
|
rdoc documentation, you need to run configure with
|
||||||
|
--enable-install-doc.
|
||||||
|
|
||||||
Thu Jan 8 21:17:43 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
Thu Jan 8 21:17:43 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
||||||
|
|
||||||
* ext/openssl/ossl_pkey.c (ossl_pkey_to_der): removed; it returns
|
* ext/openssl/ossl_pkey.c (ossl_pkey_to_der): removed; it returns
|
||||||
|
|
|
@ -139,7 +139,7 @@ ruby.imp: $(LIBRUBY_A)
|
||||||
@@NM@ -Pgp $(LIBRUBY_A) | awk 'BEGIN{print "#!"}; $$2~/^[BD]$$/{print $$1}' | sort -u -o $@
|
@@NM@ -Pgp $(LIBRUBY_A) | awk 'BEGIN{print "#!"}; $$2~/^[BD]$$/{print $$1}' | sort -u -o $@
|
||||||
# $(MINIRUBY) $< $@
|
# $(MINIRUBY) $< $@
|
||||||
|
|
||||||
install: install-nodoc rdoc
|
install: install-nodoc @RDOCTARGET@
|
||||||
|
|
||||||
install-nodoc: rbconfig.rb
|
install-nodoc: rbconfig.rb
|
||||||
$(MINIRUBY) $(srcdir)/instruby.rb $(SCRIPT_ARGS) --mantype="$(MANTYPE)"
|
$(MINIRUBY) $(srcdir)/instruby.rb $(SCRIPT_ARGS) --mantype="$(MANTYPE)"
|
||||||
|
@ -149,9 +149,9 @@ what-where no-install: rbconfig.rb
|
||||||
$(MINIRUBY) $(srcdir)/instruby.rb -n $(SCRIPT_ARGS) --mantype="$(MANTYPE)"
|
$(MINIRUBY) $(srcdir)/instruby.rb -n $(SCRIPT_ARGS) --mantype="$(MANTYPE)"
|
||||||
$(MINIRUBY) $(srcdir)/ext/extmk.rb -n $(SCRIPT_ARGS) install
|
$(MINIRUBY) $(srcdir)/ext/extmk.rb -n $(SCRIPT_ARGS) install
|
||||||
|
|
||||||
rdoc:
|
install-doc:
|
||||||
@echo Generating RDoc documentation
|
@echo Generating RDoc documentation
|
||||||
$(MINIRUBY) -I lib bin/rdoc --all --ri-system
|
$(bindir)/$(PROGRAM) $(srcdir)/bin/rdoc --all --ri-system $(srcdir)
|
||||||
|
|
||||||
clean-ext:
|
clean-ext:
|
||||||
@-$(MINIRUBY) $(srcdir)/ext/extmk.rb $(SCRIPT_ARGS) clean 2> /dev/null || true
|
@-$(MINIRUBY) $(srcdir)/ext/extmk.rb $(SCRIPT_ARGS) clean 2> /dev/null || true
|
||||||
|
@ -204,7 +204,7 @@ Makefile: $(srcdir)/Makefile.in
|
||||||
|
|
||||||
.PRECIOUS: @MAKEFILES@
|
.PRECIOUS: @MAKEFILES@
|
||||||
|
|
||||||
.PHONY: test install install-nodoc rdoc
|
.PHONY: test install install-nodoc install-doc
|
||||||
|
|
||||||
PHONY:
|
PHONY:
|
||||||
|
|
||||||
|
|
10
configure.in
10
configure.in
|
@ -1223,6 +1223,16 @@ fi
|
||||||
XLDFLAGS="$XLDFLAGS -L."
|
XLDFLAGS="$XLDFLAGS -L."
|
||||||
AC_SUBST(ARCHFILE)
|
AC_SUBST(ARCHFILE)
|
||||||
|
|
||||||
|
dnl build rdoc index if requested
|
||||||
|
RDOCTARGET=""
|
||||||
|
AC_ARG_ENABLE(install-doc,
|
||||||
|
[ --enable-install-doc build and install rdoc indexes during install ],
|
||||||
|
[install_doc=$enableval], [install_doc=no])
|
||||||
|
if test "$install_doc" != no; then
|
||||||
|
RDOCTARGET="install-doc"
|
||||||
|
fi
|
||||||
|
AC_SUBST(RDOCTARGET)
|
||||||
|
|
||||||
case "$target_os" in
|
case "$target_os" in
|
||||||
netbsd*)
|
netbsd*)
|
||||||
CFLAGS="$CFLAGS -pipe"
|
CFLAGS="$CFLAGS -pipe"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue