branch: externals/beardbolt
commit 5131185d13359614498e474f0c36424566537dc7
Author: João Távora <[email protected]>
Commit: João Távora <[email protected]>
Add a Makefile
* Makefile: New file.
* README.md: Complete setup instructions.
---
Makefile | 16 ++++++++++++++++
README.md | 9 +++++++++
2 files changed, 25 insertions(+)
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000000..ced3bd1655
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,16 @@
+### Makefile for beardbolt. Lifted from Makefile for Eglot.
+EMACS?=emacs
+ELFILES := beardbolt.el
+ELCFILES := $(ELFILES:.el=.elc)
+
+all: compile
+
+%.elc: %.el
+ $(EMACS) -Q -L . --batch -f batch-byte-compile $<
+
+compile: $(ELCFILES)
+
+clean:
+ find . -iname '*.elc' -exec rm {} \;
+
+.PHONY: all compile clean check
diff --git a/README.md b/README.md
index f385a18905..e722fd1745 100644
--- a/README.md
+++ b/README.md
@@ -29,7 +29,16 @@ corresponds to, and vice versa.
### Installation
+```sh
+cd /path/to/beardbolt-clone
+make
+```
+
```lisp
(add-to-list 'load-path "/path/to/beardbolt-clone")
(require 'beardbolt)
```
+
+```
+M-x beardbolt-starter
+```