hhvn.uk

Website, gopher, etc
git clone https://hhvn.uk/hhvn.uk
git clone git://hhvn.uk/hhvn.uk
Log | Files | Refs | Submodules

commit f4b0bb45fe4bc966301847bbf9314017fe1e5dcc
parent 49b080ca06bdd70b5b7f1496e49a2b2d97e2aecc
Author: hhvn <dev@hhvn.uk>
Date:   Thu,  9 May 2024 19:41:22 +0100

Recompile if libaries change & go support

Diffstat:
Mgen/generate.rc | 14+++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/gen/generate.rc b/gen/generate.rc @@ -2,10 +2,18 @@ cd `$nl{dirname $0} -make -C stagit +fn compile { + if (!ldd $1/$1 >/dev/null) { + make -C $1 clean && make -C $1 + } else { + make -C $1 + } +} + +compile stagit ./stagit-create.rc -make -C stagit-gopher +compile stagit-gopher ./stagit-gopher-create.rc notesdir = ../notes/ @@ -91,7 +99,7 @@ fn recent { if (recent $date || {!~ $updated () && recent $updated}) { recent = '<b style="color:#00aa00 !important;">[NEW]</b> ' } else { - recent = '[&nbsp;&nbsp;&nbsp;]' + recent = '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' } atomentry $f $base $webatom $title http://hhvn.uk/blog