emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/pdf-tools 37b4c4fcec 01/16: Add a byteclean target in the


From: ELPA Syncer
Subject: [nongnu] elpa/pdf-tools 37b4c4fcec 01/16: Add a byteclean target in the Makefile
Date: Tue, 29 Nov 2022 01:59:28 -0500 (EST)

branch: elpa/pdf-tools
commit 37b4c4fcecf2dfe9c7f960864fde1a82bb2ea2c6
Author: Vedang Manerikar <ved.manerikar@gmail.com>
Commit: Vedang Manerikar <ved.manerikar@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
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]