From c6b6d485bc77d2dc17982b16dcb54f1c8b2025e6 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sun, 10 Dec 2023 15:08:15 -0500 Subject: 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. --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') 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) -- cgit v1.2.3