branch: externals/ellama
commit 71e1e6becb11541758cd6c34a974e68acbd57e73
Author: Sergey Kostyaev <[email protected]>
Commit: Sergey Kostyaev <[email protected]>
Add refill-readme target
Updated AGENTS.md to include a new “Refill readme” step in the build
instructions.
Modified Makefile to add the target to the `.PHONY` list and to define the
`refill-readme` rule, which runs Emacs in batch mode to format the
`README.org`
file.
---
AGENTS.md | 1 +
Makefile | 5 ++++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/AGENTS.md b/AGENTS.md
index e676d5f356..cb05c54e40 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -8,6 +8,7 @@
3. **Check native compilation warnings**: `make check-compile-warnings`
4. **Format Elisp files**: `make format-elisp`
5. **Export manual**: `make manual`
+6. **Refill readme**: `make refill-readme`
## Code Style Guidelines
diff --git a/Makefile b/Makefile
index c79038385d..2d02709da1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
# Makefile for ellama project
-.PHONY: build test test-detailed check-compile-warnings manual format-elisp
refill-news
+.PHONY: build test test-detailed check-compile-warnings manual format-elisp
refill-news refill-readme
# This order is based on the packages dependency graph.
ELLAMA_COMPILE_ORDER = \
@@ -57,3 +57,6 @@ format-elisp:
refill-news:
emacs -batch --eval "(with-current-buffer (find-file-noselect
\"./NEWS.org\") (setq fill-column 80) (fill-region (point-min) (point-max))
(save-buffer))"
+
+refill-readme:
+ emacs -batch --eval "(with-current-buffer (find-file-noselect
\"./README.org\") (setq fill-column 80) (fill-region (point-min) (point-max))
(save-buffer))"