From 8648f2b83bb63108c5db2e2d6bc73bc1018f5304 Mon Sep 17 00:00:00 2001 From: Darren Bane Date: Thu, 22 Oct 2020 18:40:34 +0100 Subject: Tweak Gemini workflow --- doc/Makefile | 11 ++++++++++- doc/breaking_rules.md | 16 ++++++++-------- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/doc/Makefile b/doc/Makefile index 6a2159f..7e21ba4 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,6 +1,8 @@ .POSIX: .DELETE_ON_ERROR: +GEMINI := breaking_rules.gmi bane.20.cdr15.gmi + .PHONY: all all: breaking_rules.pdf breaking_rules.html breaking_rules.txt bane.20.cdr15.html lkbib.txt @@ -22,7 +24,10 @@ breaking_rules.txt: macros.ms breaking_rules.md refs.i # or piping through ul worked. # GROFF_NO_SGR=1 groff -Tutf8 -R -ms -k -Kutf8 -c macros.ms lkbib.ms | ul > $@ lkbib.txt: macros.ms lkbib.ms refs.i - groff -Tlatin1 -R -ms -k -Kutf8 macros.ms lkbib.ms > $@ + groff -Tutf8 -R -ms -k -Kutf8 macros.ms lkbib.ms > $@ + +%.gmi: %.md + md2gemini $^ > $@ refs.i: refs indxbib $^ @@ -30,3 +35,7 @@ refs.i: refs .PHONY: clean clean: $(RM) breaking_rules.pdf breaking_rules.html breaking_rules.txt bane.20.cdr15.html + +.PHONY: push +push: $(GEMINI) + scp $^ dbane@republic.circumlunar.space:/usr/home/dbane/gemini/lsp_doc diff --git a/doc/breaking_rules.md b/doc/breaking_rules.md index 51c5cf2..9b69e38 100644 --- a/doc/breaking_rules.md +++ b/doc/breaking_rules.md @@ -241,11 +241,11 @@ It is hoped that this is more effective than most of what is currently-used. # References -[1]Kent Beck, Extreme Programming Explained (1999). -[2]David Robertson and Jaume Agust▒, Software Blueprints: Lightweight Uses of Logic in Conceptual Modelling, Addison Wesley Longman (1999). -[3]Kent Pitman, Accelerating Hindsight: Lisp as a Vehicle for Rapid Prototyping (1994). -[4]Darren Bane, Design and Documentation of the Kernel of a Set of Tools for Working With Tabular Mathematical Expressions, University of Limerick, Ireland (19 Jul 2008). -[5]Darren Bane, An ISLisp-like subset of ANSI Common Lisp, Ireland (21 Aug 2020). -[6]Tom Preston-Werner, Readme Driven Development, San Francisco, CA, USA (23 Aug 2010). available: https://tom.preston-werner.com/2010/08/23/readme- driven-development.html [accessed 27 May 2020]. -[7]Kristaps Dzonsons, Practical UNIX Manuals. available: https://manpages.bsd.lv/toc.html [accessed 9 Oct 2020]. -[8]"Basic English" in Wikipedia. available: https://en.wikipedia.org/wiki/Basic_English [accessed 28 May 2020]. +[1]Kent Beck, Extreme Programming Explained (1999). +[2]David Robertson and Jaume Agustí, Software Blueprints: Lightweight Uses of Logic in Conceptual Modelling, Addison Wesley Longman (1999). +[3]Kent Pitman, Accelerating Hindsight: Lisp as a Vehicle for Rapid Prototyping (1994). +[4]Darren Bane, Design and Documentation of the Kernel of a Set of Tools for Working With Tabular Mathematical Expressions, University of Limerick, Ireland (19 Jul 2008). +[5]Darren Bane, An ISLisp-like subset of ANSI Common Lisp, Ireland (21 Aug 2020). +[6]Tom Preston-Werner, Readme Driven Development, San Francisco, CA, USA (23 Aug 2010). available: https://tom.preston-werner.com/2010/08/23/readme- driven-development.html [accessed 27 May 2020]. +[7]Kristaps Dzonsons, Practical UNIX Manuals. available: https://manpages.bsd.lv/toc.html [accessed 9 Oct 2020]. +[8]"Basic English" in Wikipedia. available: https://en.wikipedia.org/wiki/Basic_English [accessed 28 May 2020]. -- cgit 1.4.1-2-gfad0