summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-02-27 23:13:07 +0100
committerMaciej Barć <xgqt@gentoo.org>2023-02-27 23:13:07 +0100
commit06745df180cf31fa523d1b409c2303136339395f (patch)
tree5da8e50485a793d9ccd304d571381e1101c8a437
parentscripts/compile-snippets.el: better snippets-directory detection (diff)
downloademacs-ebuild-snippets-06745df180cf31fa523d1b409c2303136339395f.tar.gz
emacs-ebuild-snippets-06745df180cf31fa523d1b409c2303136339395f.tar.bz2
emacs-ebuild-snippets-06745df180cf31fa523d1b409c2303136339395f.zip
Makefile: split compile-snippets into own rule
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3e33ef0..e2b7514 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,10 @@ clean:
%.elc:
$(EMACSCMD) --eval "(byte-compile-file \"$(*).el\" 0)"
+.PHONY: compile-snippets
+compile-snippets:
+ $(EMACS) --script $(PWD)/scripts/compile-snippets.el
+
.PHONY: compile
compile: $(ELCS)
-compile:
- $(EMACS) --script $(PWD)/scripts/compile-snippets.el
+compile: compile-snippets