[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/diff-hl 601664b 1/2: Fix building libraries using make
From: |
ELPA Syncer |
Subject: |
[elpa] externals/diff-hl 601664b 1/2: Fix building libraries using make |
Date: |
Wed, 21 Apr 2021 17:57:08 -0400 (EDT) |
branch: externals/diff-hl
commit 601664b8190f342da8951ac4ed0f76ceb11c5e9e
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
Fix building libraries using make
- Compile all libraries, including the main one.
- Make the "all" make target depend on "compile".
- Add the current directory to the load-path,
so that compiling doesn't fail completely.
---
Makefile | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index fb3ec5e..4b7da82 100644
--- a/Makefile
+++ b/Makefile
@@ -1,21 +1,24 @@
EMACS ?= emacs
-SOURCES=
+SOURCES=diff-hl.el
SOURCES+=diff-hl-amend.el
SOURCES+=diff-hl-dired.el
SOURCES+=diff-hl-flydiff.el
+SOURCES+=diff-hl-inline-popup.el
SOURCES+=diff-hl-margin.el
+SOURCES+=diff-hl-show-hunk-posframe.el
+SOURCES+=diff-hl-show-hunk.el
ARTIFACTS=$(patsubst %.el, %.elc, $(SOURCES))
RM ?= rm -f
-all: test
+all: compile test
test:
$(EMACS) -batch -L . -l test/diff-hl-test.el -f diff-hl-run-tests
compile:
- $(EMACS) -batch -f batch-byte-compile $(SOURCES)
+ $(EMACS) -batch -L . -f batch-byte-compile $(SOURCES)
clean:
$(RM) $(ARTIFACTS)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/diff-hl 601664b 1/2: Fix building libraries using make,
ELPA Syncer <=