From e17d5accf61e817fd71de5ea0e5c22b154d3d436 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Sun, 31 Jan 2021 18:31:20 +0000 Subject: Fix aux/getflags bug when called from mk Kind of bad that aux/getflags gets so confused when flag* variables are already set. --- htindex | 1 + htwrap | 1 + mkfile | 5 +---- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/htindex b/htindex index b3f88f1..4c0f03d 100755 --- a/htindex +++ b/htindex @@ -1,4 +1,5 @@ #!/bin/rc -e +rfork E # index -- add ids to headings and print index to stderr diff --git a/htwrap b/htwrap index 4b7de46..97fa445 100755 --- a/htwrap +++ b/htwrap @@ -1,4 +1,5 @@ #!/bin/rc -e +rfork E # htwrap -- create standalone HTML document diff --git a/mkfile b/mkfile index e50c6be..e24a5c6 100644 --- a/mkfile +++ b/mkfile @@ -1,9 +1,6 @@ test.html: test.em path=(. /bin) - ramfs -p - em test.em > /tmp/1 - htwrap -t /tmp/1 > /tmp/2 - htindex -s /tmp/2 > test.html + em test.em | htwrap -t | htindex -s > test.html README.html: README path=(. /bin) -- cgit v1.2.3