From aa418adc556066112a64f57e1a9d79def072a30f Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 26 Jun 2023 21:38:27 -0400 Subject: makefile, spine generate command related --- makefile | 38 +++++++++++++++++++++++++++++--------- 1 file changed, 29 insertions(+), 9 deletions(-) (limited to 'makefile') 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 -- cgit v1.2.3