branch: elpa/pdf-tools commit 37b4c4fcecf2dfe9c7f960864fde1a82bb2ea2c6 Author: Vedang Manerikar <ved.maneri...@gmail.com> Commit: Vedang Manerikar <ved.maneri...@gmail.com>
Add a byteclean target in the Makefile Similar to the `bytecompile` target, this is for helping with testing. --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f776884c74..e2bdc29cad 100644 --- a/Makefile +++ b/Makefile @@ -27,6 +27,11 @@ $(pkgfile): .cask/$(emacs_version) server/epdfinfo lisp/*.el bytecompile: .cask/$(emacs_version) $(CASK) exec $(emacs) --batch -L lisp -f batch-byte-compile lisp/*.el +# Clean bytecompiled sources +byteclean: + rm -f -- lisp/*.elc + rm -f -- lisp/*.eln + # Run ERT tests test: all PACKAGE_TAR=$(pkgfile) $(CASK) exec ert-runner @@ -68,9 +73,8 @@ melpa-package: $(pkgfile) -f $(pkgname)-melpa.tar # Various clean targets -clean: server-clean +clean: server-clean byteclean rm -f -- $(pkgfile) - rm -f -- lisp/*.elc rm -f -- pdf-tools-readme.txt rm -f -- pdf-tools-$(version).entry