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 --- org/config_make.org | 38 +++++++++++++++++++++++++++++--------- 1 file changed, 29 insertions(+), 9 deletions(-) (limited to 'org/config_make.org') diff --git a/org/config_make.org b/org/config_make.org index 1cd31cd..43a5362 100644 --- a/org/config_make.org +++ b/org/config_make.org @@ -23,7 +23,7 @@ #+HEADER: :tangle ../makefile #+HEADER: :noweb yes #+BEGIN_SRC makefile -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 @@ -117,23 +117,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