[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dape c26a17668e 1/5: Fix broken makefile
From: |
ELPA Syncer |
Subject: |
[elpa] externals/dape c26a17668e 1/5: Fix broken makefile |
Date: |
Fri, 2 Feb 2024 06:57:43 -0500 (EST) |
branch: externals/dape
commit c26a17668ef3d832e601be1614b9e123c97e583b
Author: Daniel Pettersson <daniel@dpettersson.net>
Commit: Daniel Pettersson <daniel@dpettersson.net>
Fix broken makefile
---
Makefile | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/Makefile b/Makefile
index 901b55df45..4c4b845cdc 100644
--- a/Makefile
+++ b/Makefile
@@ -7,12 +7,12 @@ ELCFILES = $(addsuffix .elc, $(basename $(ELFILES)))
all: $(ELCFILES)
-$(DEPS):
+$(JSONRPC):
@curl "https://elpa.gnu.org/packages/$(@D).tar.lz" -o $(@D).tar.lz
@tar -xvf $(@D).tar.lz
@rm $(@D).tar.lz
-%.elc: %.el
+%.elc: %.el $(JSONRPC)
@echo Compiling $<
@${EMACS} -Q \
-batch \
@@ -21,14 +21,14 @@ $(DEPS):
--eval="(package-install-file \"$(JSONRPC)\")" \
-f batch-byte-compile $<
-check: $(DEPS) $(ELCFILES)
- @${EMACS} -Q \
- -batch \
- -l ert \
+check: $(JSONRPC) $(ELCFILES)
+ @${EMACS} -Q \
+ -batch \
+ -l ert \
--eval="(package-install-file \"$(JSONRPC)\")" \
$(foreach file, $^, -l $(file)) \
-f ert-run-tests-batch-and-exit
clean:
@rm -f *.elc
- @rm -fr $(dir $(DEPS))
+ @rm -fr $(dir $(JSONRPC))