Skip to content

Commit a02c024

Browse files
Minor Makefile tweaks
1 parent 04d85da commit a02c024

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Makefile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ PYTHON_RUN :=
4141
CMAKE_RUN := cmake
4242

4343
SPHINX_JOBS ?= auto
44-
SPHINX_ARGS := -W -j "$(SPHINX_JOBS)" -aT -b dirhtml
44+
SPHINX_ARGS := --jobs="$(SPHINX_JOBS)" --write-all --show-traceback --builder=dirhtml --fail-on-warning
4545

4646
DOCS_SRC := $(THIS_DIR)/docs
4747
DOCS_OUT := $(BUILD_DIR)/docs/dev/html
@@ -96,11 +96,12 @@ install-fast:
9696
package: build
9797
$(MAKE) package-fast
9898

99-
CPACK_OUT := _cpack
100-
PACKAGE_CONFIGS = Debug;Release;RelWithDebInfo
99+
CPACK_OUT := _cpack
100+
PACKAGE_CONFIGS := Debug;Release;RelWithDebInfo
101+
PACKAGE_FORMATS := STGZ;TGZ;ZIP
101102
package-fast:
102103
$(CMAKE_RUN) -E chdir "$(BUILD_DIR)" \
103-
cpack -B "$(CPACK_OUT)" -C "$(PACKAGE_CONFIGS)" -G "STGZ;TGZ;ZIP"
104+
cpack -B "$(CPACK_OUT)" -C "$(PACKAGE_CONFIGS)" -G "$(PACKAGE_FORMATS)"
104105
rm -r -- "$(CPACK_OUT)/_CPack_Packages"
105106

106107
format-check:

0 commit comments

Comments
 (0)