ref: d589942e564c877c4a0f08f3459d5a1e3657c1ba
parent: 2c3f4e76a07feb45795ffc5bf387127510a9d4f5
author: sirjofri <sirjofri@sirjofri.de>
date: Sun Jul 30 13:40:15 EDT 2023
adjusts mkfile to run txt2* scripts from this directory
--- a/mkfile
+++ b/mkfile
@@ -49,7 +49,7 @@
for(i in $prereq){
ifs=''
title=`{sed '2q' $i | tr -d $nl}
- content=`{txt2html $i | cat}
+ content=`{./txt2html $i | cat}
link=$DOMAIN^`{echo -n $i | sed 's:\.ht$:/:' | tr -d $nl}
updated=`{date -t `{basename $i | sed 's/\.ht$//'} | tr -d $nl}
ifs=' '^$nl
@@ -101,7 +101,7 @@
changeblog/%.ms:Q: changeblog/%.txt
{
- txt2ms -v 'firstheader=1' changeblog/$stem.txt
+ ./txt2ms -v 'firstheader=1' changeblog/$stem.txt
} > $target
echo '√ '^$target^' prepared'
@@ -115,7 +115,7 @@
<h2>'^$"title^'</h2>
<b>'^`"{date -f $dfmt $stem | tr -d $nl}^'</b>
</header>'
- txt2html -v 'firstheader=1' changeblog/$stem.txt
+ ./txt2html -v 'firstheader=1' changeblog/$stem.txt
echo '</article>'
} > $target
echo '√ '^$target^' prepared'