noxz-sites

A collection of a builder and various scripts creating the noxz.tech sites
git clone https://noxz.tech/git/noxz-sites.git
Log | Files | README | LICENSE

commit: 3452cee1742d57543c6d67c311912607256c089e
parent: 7691c3d30d290ffbd9be231884469bd49bba4ffe
author: Chris Noxz <chris@noxz.tech>
date:   Tue, 3 Dec 2019 15:23:26 +0100
Change assembly process to use .assemble files instead
MMakefile6++----
Aassemble.sh12++++++++++++
Airc.noxz.tech/.assemble1+
Anoxz.tech/.assemble2++
Anoxz.tech/about/.assemble1+
Anoxz.tech/about/copying-policy/.assemble1+
noxz.tech/about/questions-&-answers/.assemble | 1 + Anoxz.tech/about/tools/.assemble1+ Anoxz.tech/dictionary/.assemble1+ Anoxz.tech/dotfiles/.assemble1+ Anoxz.tech/guides/.assemble1+ Anoxz.tech/guides/geogebra/.assemble2++ Anoxz.tech/guides/groff/.assemble1+ Anoxz.tech/guides/groff/papers/.assemble20++++++++++++++++++++ Anoxz.tech/guides/groff/simple_compiler_for_vim/.assemble1+ Anoxz.tech/guides/groff/writing_a_resume_in_groff/.assemble3+++ Anoxz.tech/guides/mathematics/.assemble1+ Anoxz.tech/pub/.assemble9+++++++++ Anoxz.tech/pub/math/.assemble3+++ Anoxz.tech/software/.assemble1+ Anoxz.tech/software/mpvd/.assemble1+ Anoxz.tech/software/rspan/.assemble1+ Anoxz.tech/software/satan-gh60/.assemble2++ Anoxz.tech/software/swps/.assemble1+ Anoxz.tech/software/tapas/.assemble1+ Anoxz.tech/software/xrectdraw/.assemble1+ Anoxz.tech/software/ztatus/.assemble1+ 27 files changed, 73 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
@@ -17,10 +17,8 @@ all: clean builder
 	@convert -density 1200 -resize 256x256 ./noxz.tech/pub/logo.black.svg ./noxz.tech/pub/logo.png
 	@convert -density 1200 -resize 256x256 ./git.noxz.tech/pub/logo.svg ./git.noxz.tech/pub/logo.png
 	@
-	@echo creating tar archive 'web.tar'
-	@find ./ -type f -regex \
-	".*\.\(jpg\|png\|svg\|html\|css\|asc\|pub\|rss\|xml\|swps\|txt\|patch\|ggb\|pdf\|ms\)" \
-	-exec tar -rf web.tar {} \;
+	@echo assembling tar archive 'web.tar'
+	@./assemble.sh web.tar
 
 builder: config.h builder.c
 	@echo CC -o $@
diff --git a/assemble.sh b/assemble.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+[ $# -eq 0 ] && return
+
+> assembly.list
+find ./git.noxz.tech/ -type f -not -name ".cache" >> assembly.list
+find ./noxz.tech/blog/ -type f -not -name "*.md" -and -not -name ".*" >> assembly.list
+for a in $(find ./ -name ".assemble"); do
+    sed -e "s:^:$(echo ${a%.*} | sed 's:&:\\&:g'):" $a
+done >> assembly.list
+
+tar -cf "$1" -T assembly.list
+rm assembly.list
diff --git a/irc.noxz.tech/.assemble b/irc.noxz.tech/.assemble
@@ -0,0 +1 @@
+index.swps
diff --git a/noxz.tech/.assemble b/noxz.tech/.assemble
@@ -0,0 +1,2 @@
+twtxt.txt
+index.html
diff --git a/noxz.tech/about/.assemble b/noxz.tech/about/.assemble
@@ -0,0 +1 @@
+index.html
diff --git a/noxz.tech/about/copying-policy/.assemble b/noxz.tech/about/copying-policy/.assemble
@@ -0,0 +1 @@
+index.html
@@ -0,0 +1 @@
+index.html
diff --git a/noxz.tech/about/tools/.assemble b/noxz.tech/about/tools/.assemble
@@ -0,0 +1 @@
+index.html
diff --git a/noxz.tech/dictionary/.assemble b/noxz.tech/dictionary/.assemble
@@ -0,0 +1 @@
+index.html
diff --git a/noxz.tech/dotfiles/.assemble b/noxz.tech/dotfiles/.assemble
@@ -0,0 +1 @@
+index.html
diff --git a/noxz.tech/guides/.assemble b/noxz.tech/guides/.assemble
@@ -0,0 +1 @@
+index.html
diff --git a/noxz.tech/guides/geogebra/.assemble b/noxz.tech/guides/geogebra/.assemble
@@ -0,0 +1,2 @@
+geogebra.png
+index.html
diff --git a/noxz.tech/guides/groff/.assemble b/noxz.tech/guides/groff/.assemble
@@ -0,0 +1 @@
+index.html
diff --git a/noxz.tech/guides/groff/papers/.assemble b/noxz.tech/guides/groff/papers/.assemble
@@ -0,0 +1,20 @@
+using_the_ms_macros_with_troff_and_nroff.pdf
+maintaining_cross_references_in_manuscripts__127.pdf
+a_typesetter-independent_troff.pdf
+dformat_--_a_program_for_typesetting_data_formats__142.pdf
+making_pictures_with_gnu_pic.pdf
+tbl_--_a_program_to_format_tables.pdf
+pic_--_a_graphics_language_for_typesetting__116.pdf
+tbl_--_a_program_to_format_tables__76.pdf
+typesetting_mathematics_users_guide__second_edition.pdf
+writing_papers_with_nroff_using_me.pdf
+nroff_troff_users_manual.pdf
+chem_--_a_language_for_typesetting_chemical_structure_diagram__122.pdf
+a_troff_tutorial.pdf
+a_system_for_algorithm_animation__132.pdf
+grap_--_a_language_for_typesetting_graphs__114.pdf
+some_applications_of_inverted_indexes_on_the_unix_system.pdf
+a_system_for_typesetting_mathematics.pdf
+a_guide_to_typesetting_mathematics_using_gnu_eqn.pdf
+me_reference_manual.pdf
+tools_for_printing_indexes__128.pdf
diff --git a/noxz.tech/guides/groff/simple_compiler_for_vim/.assemble b/noxz.tech/guides/groff/simple_compiler_for_vim/.assemble
@@ -0,0 +1 @@
+index.html
diff --git a/noxz.tech/guides/groff/writing_a_resume_in_groff/.assemble b/noxz.tech/guides/groff/writing_a_resume_in_groff/.assemble
@@ -0,0 +1,3 @@
+template.ms
+example.png
+index.html
diff --git a/noxz.tech/guides/mathematics/.assemble b/noxz.tech/guides/mathematics/.assemble
@@ -0,0 +1 @@
+index.html
diff --git a/noxz.tech/pub/.assemble b/noxz.tech/pub/.assemble
@@ -0,0 +1,9 @@
+logo.black.svg
+logo.svg
+rss.svg
+twtxt.svg
+logo.png
+style.css
+chrisnoxz.pub
+gpg-public-key.asc
+feed.rss
diff --git a/noxz.tech/pub/math/.assemble b/noxz.tech/pub/math/.assemble
@@ -0,0 +1,3 @@
+1mIBk-ucir-bc.ggb
+1mIBk-ucir-tc.ggb
+1mIBk-tri-tc.ggb
diff --git a/noxz.tech/software/.assemble b/noxz.tech/software/.assemble
@@ -0,0 +1 @@
+index.html
diff --git a/noxz.tech/software/mpvd/.assemble b/noxz.tech/software/mpvd/.assemble
@@ -0,0 +1 @@
+index.html
diff --git a/noxz.tech/software/rspan/.assemble b/noxz.tech/software/rspan/.assemble
@@ -0,0 +1 @@
+index.html
diff --git a/noxz.tech/software/satan-gh60/.assemble b/noxz.tech/software/satan-gh60/.assemble
@@ -0,0 +1,2 @@
+keyboard.png
+index.html
diff --git a/noxz.tech/software/swps/.assemble b/noxz.tech/software/swps/.assemble
@@ -0,0 +1 @@
+index.html
diff --git a/noxz.tech/software/tapas/.assemble b/noxz.tech/software/tapas/.assemble
@@ -0,0 +1 @@
+index.html
diff --git a/noxz.tech/software/xrectdraw/.assemble b/noxz.tech/software/xrectdraw/.assemble
@@ -0,0 +1 @@
+index.html
diff --git a/noxz.tech/software/ztatus/.assemble b/noxz.tech/software/ztatus/.assemble
@@ -0,0 +1 @@
+index.html