diff options
| -rw-r--r-- | default.mk | 4 | ||||
| -rw-r--r-- | lisp/Makefile | 4 | ||||
| -rw-r--r-- | test/Makefile | 6 |
3 files changed, 9 insertions, 5 deletions
@@ -32,9 +32,5 @@ GITSTATS ?= gitstats GITSTATS_DIR ?= $(TOP)docs/stats GITSTATS_ARGS ?= -c style=https://magit.vc/assets/stats.css -c max_authors=999 -%.elc: %.el - @printf "Compiling $<\n" - @$(EMACS) -Q --batch $(EMACS_ARGS) $(LOAD_PATH) -f batch-byte-compile $< - RCLONE ?= rclone RCLONE_ARGS ?= -v diff --git a/lisp/Makefile b/lisp/Makefile index 9da347f..064f37d 100644 --- a/lisp/Makefile +++ b/lisp/Makefile @@ -5,6 +5,10 @@ lisp: $(ELCS) autoloads check-declare autoloads: $(PKG)-autoloads.el +%.elc: %.el + @printf "Compiling $<\n" + @$(EMACS) -Q --batch $(EMACS_ARGS) $(LOAD_PATH) -f batch-byte-compile $< + check-declare: @printf " Checking function declarations\n" @$(EMACS) -Q --batch $(EMACS_ARGS) $(LOAD_PATH) \ diff --git a/test/Makefile b/test/Makefile index 25c4cdc..5476705 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,7 +1,7 @@ -include ../config.mk include ../default.mk -LOAD_PATH += -L $(TOP)test +LOAD_PATH += -L $(TOP)test test: lisp @printf " Testing...\n" @@ -10,6 +10,10 @@ test: lisp lisp: ../lisp/$(PKG).elc $(PKG)-test.elc +%.elc: %.el + @printf "Compiling $<\n" + @$(EMACS) -Q --batch $(EMACS_ARGS) $(LOAD_PATH) -f batch-byte-compile $< + clean: @printf " Cleaning test/*...\n" @rm -rf $(PKG)-test.elc |
