commit:     dbce7f46a0d6bfc038c3fccf5c3a22c4df0bdcf8
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  9 16:12:19 2026 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Jan  9 16:12:19 2026 +0000
URL:        
https://gitweb.gentoo.org/proj/emacs-ebuild-snippets.git/commit/?id=dbce7f46

build(Makefile): fix minor issues

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 Makefile | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile
index 9d46c46..fc8fbed 100644
--- a/Makefile
+++ b/Makefile
@@ -4,15 +4,17 @@ ELS          = $(wildcard $(PWD)/*.el)
 ELCS         = $(ELS:.el=.elc)
 
 EMACS       := emacs
-RM          := rm -f
-SH          := sh
+RM          := rm -f -r
+SH          := bash
 
 EMACFLAGS   := --batch -q --no-site-file -L $(PWD)
 EMACSCMD     = $(EMACS) $(EMACFLAGS)
 
 
 .PHONY: all
-all: clean compile
+all:
+       $(MAKE) clean
+       $(MAKE) compile
 
 .PHONY: clean
 clean:
@@ -26,8 +28,7 @@ compile-snippets:
        $(EMACS) --script $(PWD)/scripts/compile-snippets.el
 
 .PHONY: compile
-compile: $(ELCS)
-compile: compile-snippets
+compile: $(ELCS) compile-snippets
 
 .PHONY: eldev-install
 eldev-install:

Reply via email to