aboutsummaryrefslogtreecommitdiffhomepage
path: root/makefile
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2023-06-26 21:38:27 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2023-06-26 21:38:27 -0400
commitaa418adc556066112a64f57e1a9d79def072a30f (patch)
treeeb65bbc7da7dc48fe3400960161f8f7ad07353ed /makefile
parentbespoke html, homepage index.html (diff)
makefile, spine generate command related
Diffstat (limited to 'makefile')
-rw-r--r--makefile38
1 files changed, 29 insertions, 9 deletions
diff --git a/makefile b/makefile
index 6f943f0..6086911 100644
--- a/makefile
+++ b/makefile
@@ -1,4 +1,4 @@
-include .envrc-local
+#include .envrc-local
PROG_VER_GIT :=$(shell echo `git describe --long --tags | sed -e "s/^[ a-z_-]\+\([0-9.]\+\)/\1/;s/\([^-]*-g\)/r\1/;s/-/./g"`)
#PROG_VER_DECLARED :=$(shell echo `cat ./views/version.txt | grep --color=never "enum" | sed 's/.\+(\([0-9]\+\),[ \t]\+\([0-9]\+\),[ \t]\+\([0-9]\+\)[ \t]*).\+/\1.\2.\3/g'`)
DUB=dub
@@ -92,23 +92,43 @@ org-tangle:
# output local
out-local:
$(SpineBIN)/spine -v \
- --latex --latex-init \
--epub --html \
- --html-link-search --html-link-pdf --html-link-curate --html-link-markup \
+ --latex --latex-init --html-link-pdf \
--cgi-sqlite-search-filename=$(SpineCGIform) --cgi-url-action=$(SpineSearchActionLocal) \
- --sqlite-update --sqlite-db-filename=$(SpineSQLdb) \
- --curate \
+ --sqlite-update --sqlite-db-filename=$(SpineSQLdb) --html-link-search \
+ --curate --html-link-curate \
--output=$(SpineOUT) $(SpinePOD)/*
# output remote
out-remote:
$(SpineBIN)/spine -v \
- --latex --latex-init \
--epub --html \
- --html-link-search --html-link-pdf --html-link-curate --html-link-markup \
+ --latex --latex-init --html-link-pdf \
--cgi-sqlite-search-filename=$(SpineCGIform) --cgi-url-action=$(SpineSearchActionRemote) \
- --sqlite-update --sqlite-db-filename="$(SpineSQLdb)" \
- --curate \
+ --sqlite-update --sqlite-db-filename="$(SpineSQLdb)" --html-link-search \
+ --curate --html-link-curate \
+ --output=$(SpineOUT) $(SpinePOD)/*
+
+# output local plus markup source, pods
+out-local-plus-pods:
+ $(SpineBIN)/spine -v \
+ --pods --html-link-markup \
+ --epub --html \
+ --latex --latex-init --html-link-pdf \
+ --cgi-sqlite-search-filename=$(SpineCGIform) --cgi-url-action=$(SpineSearchActionLocal) \
+ --sqlite-update --sqlite-db-filename=$(SpineSQLdb) --html-link-search \
+ --curate --html-link-curate \
+ --output=$(SpineOUT) $(SpinePOD)/*
+
+# output remote plus markup source, pods
+out-remote-plus-pods:
+ $(SpineBIN)/spine -v \
+ --pods --html-link-markup \
+ --epub --html \
+ --latex --latex-init --html-link-pdf \
+ --cgi-sqlite-search-filename=$(SpineCGIform) --cgi-url-action=$(SpineSearchActionRemote) \
+ --sqlite-update --sqlite-db-filename="$(SpineSQLdb)" --html-link-search \
+ --curate --html-link-curate \
--output=$(SpineOUT) $(SpinePOD)/*
# epub output