ref: bfe794a57640e29917fe5167e6949625f3f93b8d
author: sirjofri <sirjofri@sirjofri.de>
date: Tue Sep 21 10:48:46 EDT 2021
adds readme and mkfile
--- /dev/null
+++ b/README
@@ -1,0 +1,27 @@
+(Somewhat) Serious Guide to 9front
+
+*** Collaborators needed ***
+(especially native English speakers)
+
+CONDITIONS
+
+* must have a machine with 9front
+* the documents are written in a mixture of markdown-like syntax, troff and xhtml
+* file management using mkfiles
+
+This project uses epublish (shithub.us/sirjofri/epublish) for
+building. It is not needed for writing and giving feedback.
+
+
+BUILDING
+
+ bind -ac /path/to/epublish /n/epublish
+ cd /path/to/sergui
+ mk
+
+... should be enough.
+The results are then in sergui.pdf and sergui.epub.
+
+ mk clean
+
+... removes these files.
--- /dev/null
+++ b/mkfile
@@ -1,0 +1,19 @@
+textsource=text
+ebooksource=ebooksrc
+mssource=mssrc
+ebook=sergui.epub
+ms=sergui.ms
+bindir=/n/epublish
+
+MSARGS=-v 'firstheader=1'
+EBOOKARGS=-v 'firstheader=1'
+
+all:V: sergui.pdf sergui.epub
+
+clean:V:
+ rm sergui.pdf sergui.epub sergui.ms
+
+sergui.pdf: sergui.ms
+ troff -ms <sergui.ms | lp -dstdout | ps2pdf > $target
+
+</n/epublish/mkfile.tool