[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/shell-command+ 20b5602df8 4/4: Add a basic Makefile
From: |
ELPA Syncer |
Subject: |
[elpa] externals/shell-command+ 20b5602df8 4/4: Add a basic Makefile |
Date: |
Wed, 17 Aug 2022 11:58:09 -0400 (EDT) |
branch: externals/shell-command+
commit 20b5602df8dcf29e469d71c21faa77d8aff52efc
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>
Add a basic Makefile
---
Makefile | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000000..a1366a8caf
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,20 @@
+.POSIX:
+.PHONY: all compile test clean
+.SUFFIXES: .el .elc
+
+EMACS = emacs
+BYTEC = shell-command+.elc
+
+all: compile
+
+compile: $(BYTEC)
+
+test: compile
+ $(EMACS) --version
+ $(EMACS) -Q --batch -L . -l shell-command+-tests.el -f
ert-run-tests-batch-and-exit
+
+clean:
+ $(RM) $(BYTEC) compat.info
+
+.el.elc:
+ $(EMACS) -Q --batch -L . -f batch-byte-compile $<