]> arthur.barton.de Git - bup.git/blobdiff - GNUmakefile
Update base_version to 0.34~ for 0.34 development
[bup.git] / GNUmakefile
index 49d0c78d6f671b8ccdd3028e7649f6dbe6fdfdf9..767b0ee0f66a7e1ed714e33af1200686b51b3d42 100644 (file)
@@ -4,6 +4,9 @@ MAKEFLAGS += --warn-undefined-variables
 SHELL := bash
 .DEFAULT_GOAL := all
 
+# So where possible we can make tests more reproducible
+export BUP_TEST_RANDOM_SEED ?= $(shell echo "$$RANDOM")
+
 # Guard against accidentally using/testing a local bup
 export PATH := $(CURDIR)/dev/shadow-bin:$(PATH)
 
@@ -173,7 +176,7 @@ dev/python-proposed: dev/python.c src/bup/compat.c src/bup/io.c
 clean_paths += dev/python
 dev/python: dev/python-proposed
        dev/validate-python $@-proposed
-       cp -a $@-proposed $@
+       cp -R -p $@-proposed $@
 
 clean_paths += dev/bup-exec
 generated_dependencies += dev/bup-exec.d