X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=GNUmakefile;h=83d141da96f1e38741777b5003a17f94b28673d2;hb=16c5650034c907d7ee1fa9a2e2dc0292b71b1016;hp=30f1b3a1cacab7f09f61da6c57f7e7c3c579d58c;hpb=58c671dc12318ad968e404c749b55cf32c1c37e5;p=bup.git diff --git a/GNUmakefile b/GNUmakefile index 30f1b3a..83d141d 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -40,9 +40,9 @@ LDFLAGS ?= TARGET_ARCH ?= bup_shared_cflags := -O2 -Wall -Werror -Wformat=2 -bup_shared_cflags := -Wno-unused-command-line-argument $(bup_shared_cflags) bup_shared_cflags := -Wno-unknown-pragmas -Wsign-compare $(bup_shared_cflags) bup_shared_cflags := -D_FILE_OFFSET_BITS=64 $(bup_shared_cflags) +bup_shared_cflags := $(bup_config_cflags) $(bup_shared_cflags) bup_shared_ldflags := @@ -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) @@ -252,11 +256,11 @@ Documentation/substvars: $(bup_deps) Documentation/%.1: Documentation/%.md Documentation/substvars $(pf); sed -f Documentation/substvars $< \ - | $(PANDOC) -s -r markdown -w man -o $@ + | "$(PANDOC)" -s -r markdown -w man -o $@ Documentation/%.html: Documentation/%.md Documentation/substvars $(pf); sed -f Documentation/substvars $< \ - | $(PANDOC) -s -r markdown -w html -o $@ + | "$(PANDOC)" -s -r markdown -w html -o $@ .PHONY: Documentation/clean Documentation/clean: