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

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

[elpa] externals/phps-mode a4b641d 56/62: Improved Make-script for compi


From: Christian Johansson
Subject: [elpa] externals/phps-mode a4b641d 56/62: Improved Make-script for compile and clean
Date: Tue, 20 Apr 2021 10:56:23 -0400 (EDT)

branch: externals/phps-mode
commit a4b641dc214de9cb255206dd599bdc8b86bf7738
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@cvj.se>

    Improved Make-script for compile and clean
---
 Makefile | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile
index 9c1b246..18c670d 100644
--- a/Makefile
+++ b/Makefile
@@ -4,12 +4,9 @@ ifdef emacs
 endif
 EMACS_CMD := $(EMACS) -Q -batch -L . -L test/ -L admin/
 
-EL  := admin/phps-mode-automation.el admin/phps-mode-automation-grammar.el 
phps-mode-flymake.el phps-mode-lex-analyzer.el phps-mode-lexer.el 
phps-mode-macros.el phps-mode-syntax-table.el  
phps-mode-parser-grammar-macro.el phps-mode.el phps-mode-test.el 
test/phps-mode-test-lex-analyzer.el test/phps-mode-test-integration.el 
test/phps-mode-test-lexer.el test/phps-mode-test-parser.el 
test/phps-mode-test-syntax-table.el
-ELC := $(EL:.el=.elc)
-
 .PHONY: clean
 clean:
-       rm -f $(ELC)
+       find . -name "*.elc" -exec rm -f {} \;
 
 .PHONY: generate-parser
 generate-parser:
@@ -17,7 +14,7 @@ generate-parser:
 
 .PHONY: compile
 compile:
-       $(EMACS_CMD) -f batch-byte-compile $(EL)
+       find . -name "*.el" -exec $(EMACS_CMD) -f batch-byte-compile {} \;
 
 .PHONY: tests
 tests: test-integration test-lexer test-lex-analyzer test-parser 
test-syntax-table



reply via email to

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