branch: externals/gnosis
commit 27d1a5e2ee6020be42ff6433d2dee4d30a340769
Author: Thanos Apollo <[email protected]>
Commit: Thanos Apollo <[email protected]>
Makefile: Clean up doc target, update .PHONY.
---
Makefile | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/Makefile b/Makefile
index 7dd7ebd697..76791a868e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,11 @@
.POSIX:
-.PHONY: all doc clean
-.SUFFIXES: .el .elc
+.PHONY: all doc test load clean
EMACS = emacs
GUIX_SHELL ?= guix shell -m manifest.scm --
-ORG := doc/gnosis.org
-TEXI := doc/gnosis.texi
-INFO := doc/gnosis.info
+ORG := docs/gnosis.org
+TEXI := docs/gnosis.texi
+INFO := docs/gnosis.info
TEST_FILES := tests/gnosis-test-sqlite.el \
tests/gnosis-test-algorithm.el \
tests/gnosis-test-export-import.el \
@@ -28,7 +27,7 @@ doc: $(ORG)
$(GUIX_SHELL) $(EMACS) --batch \
-Q \
--load org \
- --eval "(with-current-buffer (find-file \"$(ORG)\")
(org-texinfo-export-to-texinfo) (org-texinfo-export-to-info) (save-buffer))" \
+ --eval "(with-current-buffer (find-file \"$(ORG)\")
(org-texinfo-export-to-info))" \
--kill