branch: externals/ellama
commit 69b282adeb70b0f6444feb90f616bbf8734fef86
Author: Sergey Kostyaev <[email protected]>
Commit: Sergey Kostyaev <[email protected]>
Add manual export instructions
Add “Export manual” entry to AGENTS.md and a new `manual` target to the
Makefile. The target runs `ellama-manual-export` via Emacs batch mode.
Updated
the `.PHONY` list to include `manual`.
---
AGENTS.md | 1 +
Makefile | 8 +++++++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/AGENTS.md b/AGENTS.md
index a20bb84d4b..812222d7c8 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -5,6 +5,7 @@
1. **Build**: `make build`
2. **Run unit tests** (ERT): `make test`
3. **Check native compilation warnings**: `make check-compile-warnings`
+4. **Export manual**: `make manual`
## Code Style Guidelines
diff --git a/Makefile b/Makefile
index 55f30465e4..703af5b049 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
# Makefile for ellama project
-.PHONY: build test check-compile-warnings
+.PHONY: build test check-compile-warnings manual refill-news
build:
emacs -batch --eval "(package-initialize)" -f batch-byte-compile
ellama*.el
@@ -21,5 +21,11 @@ test:
check-compile-warnings:
emacs --batch --eval "(package-initialize)" --eval "(setq
native-comp-eln-load-path (list default-directory))" -L . -f
batch-native-compile ellama*.el
+manual:
+ emacs -batch --eval "(package-initialize)" \
+ --eval "(require 'project)" \
+ -l ellama-manual.el \
+ --eval "(ellama-manual-export)"
+
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))"