]> Sergey Matveev's repositories - zsh-autoenv.git/blobdiff - Makefile
Travis: actually use different ZDOTDIRs (#83)
[zsh-autoenv.git] / Makefile
index b9ea8967e0604381b3a755e4dc36f09f08cd0767..a217a6b34cab00fb99700b277932564903b7206b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,16 +1,15 @@
 # Default, can be overridden using "make test ZDOTDIR=...".
 ZDOTDIR:=${CURDIR}/tests/ZDOTDIR
-
-# Export it, and make it absolute.
-override export ZDOTDIR:=$(abspath $(ZDOTDIR))
+# Make it absolute.
+override ZDOTDIR:=$(abspath $(ZDOTDIR))
 
 TEST_SHELL:=zsh
 
 test:
-       cram --shell=$(TEST_SHELL) -v tests
+       ZDOTDIR=$(ZDOTDIR) cram --shell=$(TEST_SHELL) -v tests
 
 itest:
-       cram -i --shell=$(TEST_SHELL) tests
+       ZDOTDIR=$(ZDOTDIR) cram -i --shell=$(TEST_SHELL) tests
 
 # Run tests with all ZDOTDIRs.
 test_full: