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

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

[nongnu] elpa/flx ce2d375f82 073/182: Makefile: introduce all, clean tar


From: ELPA Syncer
Subject: [nongnu] elpa/flx ce2d375f82 073/182: Makefile: introduce all, clean targets
Date: Tue, 13 Dec 2022 03:59:31 -0500 (EST)

branch: elpa/flx
commit ce2d375f826143e683795088d3790e20b1f1fc6d
Author: Ramkumar Ramachandra <artagnon@gmail.com>
Commit: Ramkumar Ramachandra <artagnon@gmail.com>

    Makefile: introduce all, clean targets
    
    To batch-byte-compile flx.el and flx-ido.el.
    
    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
---
 Makefile | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 990b7e2cb9..b0d3613d91 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,16 @@ EMACS=emacs
 EMACS23=emacs23
 EMACS-OPTIONS=
 
-.PHONY: test test-nw travis-ci show-version before-test
+ELS  = flx.el
+ELS += flx-ido.el
+ELCS = $(ELS:.el=.elc)
+
+.PHONY: test test-nw travis-ci show-version before-test clean
+
+all: $(ELCS)
+
+clean:
+       $(RM) $(ELCS)
 
 show-version: show-version
        echo "*** Emacs version ***"
@@ -24,3 +33,6 @@ test-nw: before-test
 travis-ci: before-test
        echo ${EMACS-OPTIONS}
        ${EMACS} -batch -Q -l tests/run-test.el
+
+%.elc: %.el
+       ${EMACS} -batch -Q -L . -f batch-byte-compile $<



reply via email to

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