aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2019-05-20 16:26:45 +0530
committerArun Isaac2019-05-20 16:35:27 +0530
commitc00c305fc71068d3db76c63c959670dbf0f8dff5 (patch)
tree44a5c6c101180f5563dd1af1a79fe6bd3caa45e8
parenta4b865d24281507706bf1b391a308f91ac8e5e6b (diff)
downloadexiftool.el-c00c305fc71068d3db76c63c959670dbf0f8dff5.tar.gz
exiftool.el-c00c305fc71068d3db76c63c959670dbf0f8dff5.tar.lz
exiftool.el-c00c305fc71068d3db76c63c959670dbf0f8dff5.zip
Add build and clean targets to Makefile.
* Makefile (build, clean): New targets.
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index eb74cad..6bf7413 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,11 @@
EMACS = emacs
-.PHONY: check
+.PHONY: build check clean
+build:
+ $(EMACS) -Q --batch -L . --eval="(progn (setq byte-compile-debug t) (byte-recompile-directory \".\" 0))"
+
check:
$(EMACS) -Q --batch -L . -l tests/exiftool-tests.el -f ert-run-tests-batch-and-exit
+
+clean:
+ rm -vf *.elc tests/*.elc