aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2023-12-10 15:08:15 -0500
committerKyle Meyer <kyle@kyleam.com>2023-12-10 15:08:15 -0500
commitc6b6d485bc77d2dc17982b16dcb54f1c8b2025e6 (patch)
tree208618f8361840bc0a515ece7f47402560a5ed58 /Makefile
parent4816da4c1604aa2030b21ed53326247b524e42b2 (diff)
downloadsnakemake-mode-c6b6d485bc77d2dc17982b16dcb54f1c8b2025e6.tar.gz
make: Require Transient/Compat paths to be explicitly set
Don't assume that the top-level of the Transient and Compat repos reside in the same directory as this repo.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c431b7d..3f8ed24 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,10 @@
-LOAD_PATH = -L ../compat -L ../transient/lisp -L .
+-include config.mk
+
+COMPAT_DIR ?= /dev/null
+TRANSIENT_DIR ?= /dev/null
+
+LOAD_PATH = -L $(COMPAT_DIR) -L $(TRANSIENT_DIR) -L .
EMACS = emacs
BATCH = $(EMACS) -Q --batch $(LOAD_PATH)