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
Родитель cda8bc3657
Коммит 185c573821
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 7CD2805BFA3770C6
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -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