branch: externals/diff-hl
commit 601664b8190f342da8951ac4ed0f76ceb11c5e9e
Author: Jonas Bernoulli <[email protected]>
Commit: Jonas Bernoulli <[email protected]>

    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)

Reply via email to