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

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

[nongnu] elpa/buttercup 1cb7afcb0b: Makefile: Use make functions insted


From: ELPA Syncer
Subject: [nongnu] elpa/buttercup 1cb7afcb0b: Makefile: Use make functions insted of ls to set ELISP_FILES
Date: Thu, 30 Dec 2021 19:58:01 -0500 (EST)

branch: elpa/buttercup
commit 1cb7afcb0b6d87a3e623dc26ffcb2c7d4d6dd280
Author: Ola Nilsson <ola.nilsson@gmail.com>
Commit: Ola Nilsson <ola.nilsson@gmail.com>

    Makefile: Use make functions insted of ls to set ELISP_FILES
    
    `ls' is not a good command to use in scripts anyway.
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 276f24cd8e..5336b2d68c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 EMACS := emacs
 VERSION := $(shell sed -ne 's/^;; Version: \(.*\)/\1/p' buttercup.el)
-ELISP_FILES := $(shell ls *.el | grep -v -- '-pkg\.el$$')
+ELISP_FILES := $(filter-out %-pkg.el, $(wildcard *.el))
 DISTFILES := $(ELISP_FILES) buttercup-pkg.el README.md
 
 .PHONY: test compile clean



reply via email to

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