ref: 3af5d9222f25529f7df4dbfcdb7ba19c926a0e65
parent: 7744e78c3b232fe15b3b09864a90fc6da79e5173
author: Tevo <estevan.cps@gmail.com>
date: Sun Nov 8 20:47:38 EST 2020
generate: $pointlessroot pointing to output tree
--- a/generate
+++ b/generate
@@ -22,6 +22,11 @@
mkdir -p $outdir
dircp $1 $outdir
+@ {
+ cd $outdir
+ pointlessroot=`{pwd}
+}
+
for(index in `{walk $outdir | grep 'index\.rc$'}) @{
cd `{basename -d $index}
. index.rc
@@ -31,6 +36,6 @@
for(ptless in `{walk $outdir | grep '\.ptless$'}) @{
cd `{basename -d $ptless}
ptless=`{basename $ptless}
- pointless.awk $ptless >`{echo $ptless | sed 's@\.ptless$@.html@'}
+ pointless/pointless.awk $ptless >`{echo $ptless | sed 's@\.ptless$@.html@'}
rm $ptless
}