Improve ZDOTDIR setting in Makefile

This commit is contained in:
Daniel Hahler 2015-01-25 19:16:30 +01:00
parent e07a47f566
commit 5cfc69ad47
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,8 @@
export ZDOTDIR=${CURDIR}/tests/ZDOTDIR
# Default, can be overridden using "make test ZDOTDIR=...".
ZDOTDIR:=${CURDIR}/tests/ZDOTDIR
# Export it, and make it absolute.
override export ZDOTDIR:=$(abspath $(ZDOTDIR))
test:
cram --shell=zsh -v tests