1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Add INSTRUBY_OPTS to INSTRUBY_ARGS [ci skip]

For extra options from the `make` command line.
Also add explicit `--install` option to install-nodoc.
This commit is contained in:
Nobuyoshi Nakada 2021-10-23 22:18:52 +09:00
parent cda8bc3657
commit 185c573821
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -186,7 +186,8 @@ INSTRUBY_ARGS = $(SCRIPT_ARGS) \
--data-mode=$(INSTALL_DATA_MODE) \
--prog-mode=$(INSTALL_PROG_MODE) \
--installed-list $(INSTALLED_LIST) \
--mantype="$(MANTYPE)"
--mantype="$(MANTYPE)" \
$(INSTRUBY_OPTS)
INSTALL_PROG_MODE = 0755
INSTALL_DATA_MODE = 0644
@ -384,7 +385,7 @@ post-install-all:: post-install-local post-install-ext post-install-gem post-ins
install-nodoc: pre-install-nodoc do-install-nodoc post-install-nodoc
pre-install-nodoc:: pre-install-local pre-install-ext pre-install-gem
do-install-nodoc: main pre-install-nodoc
$(INSTRUBY) --make="$(MAKE)" $(INSTRUBY_ARGS) --exclude=doc
$(INSTRUBY) --make="$(MAKE)" $(INSTRUBY_ARGS) --install=all --exclude=doc
post-install-nodoc:: post-install-local post-install-ext post-install-gem
install-local: pre-install-local do-install-local post-install-local