diff --git a/nimbus/makefile b/nimbus/makefile index 13501d76d..5f3e7b3e1 100644 --- a/nimbus/makefile +++ b/nimbus/makefile @@ -39,13 +39,18 @@ endif # Compat version is used with external NIM compiler NIM_COMPAT := --useVersion:1.2 -# Name of NIM compiler, test for newer version on host OS +# Name of NIMDOC compiler, test for newer version on host OS NIM_CMD := nim NIM_TEST := $(NIM_CMD) $(NIM_COMPAT) --help >/dev/null 2>&1 NIM_SELECT := $(NIM_TEST) && echo "$(NIM_CMD) $(NIM_COMPAT)"|| echo "$(NIM_CMD)" # Note that the back ticks are needed in the following assignment NIM_EXE := `$(NIM_SELECT)` +# Extra nimdoc flags +NIMDOC_FLAGS := --verbosity:0 --hints:off --warnings:off +NIMDOC_FLAGS += -d:debug -d:disable_libbacktrace +NIMDOC_FLAGS += $(NIMFLAGS) + # Markdown compiler (test for discount tool with tables support) MD_CMD := markdown MD_TEST := $(MD_CMD) -VV 2>/dev/null|grep -q TABLES @@ -63,6 +68,7 @@ help:: echo echo "