From 4c62b18b950d7edfadffcca279ead0d547d306d2 Mon Sep 17 00:00:00 2001 From: Rob Browning Date: Sun, 3 Oct 2021 13:16:27 -0500 Subject: [PATCH] make: add check-py2 and check-py3 targets Signed-off-by: Rob Browning --- GNUmakefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 0ba6211..f3245f5 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -235,10 +235,14 @@ long-test: test long-check: export BUP_TEST_LEVEL=11 long-check: check -.PHONY: check-both -check-both: +.PHONY: check-py2 check-py3 check-both +check-py3: $(MAKE) clean && BUP_PYTHON_CONFIG=python3-config $(MAKE) check +check-py2: $(MAKE) clean && BUP_PYTHON_CONFIG=python2.7-config $(MAKE) check +check-both: + $(MAKE) check-py3 + $(MAKE) check-py2 .PHONY: Documentation/all Documentation/all: $(man_roff) $(man_html) -- 2.39.2