Skip to content

Commit 25d7a79

Browse files
committed
Create CTWILL doc in its own format.
1 parent b364de9 commit 25d7a79

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

makeall

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ do
6666
common ) $CWEAVE $f comm-w2c ;;
6767
ctangle ) $CWEAVE $f ctang-w2c ;;
6868
cweave ) $CWEAVE $f cweav-w2c ;;
69-
ctwill ) tie -m $f.w cweave.w $f-w2c.ch $f-mini.ch
70-
$CTWILL $f; $CTWILL $f ;;
69+
ctwill ) ;; # do nothing for CTWILL
7170
ctie ) $CWEAVE $f $f-k ;;
7271
tie ) $CWEAVE $f $f-w2c ;;
7372

@@ -87,18 +86,29 @@ do
8786
-e "s/\(\\\\pageno=3\)/\1\n\\\\def\\\\contentspagenumber{1}/" \
8887
$f.tex ;;
8988

89+
ctwill ) ;; # do nothing for CTWILL
90+
9091
* ) sed -i -e "s/\(\\\\let\\\\maybe=\)\\\\iftrue/\1\\\\iffalse/" \
9192
$f.tex ;;
9293
esac
9394
else
9495
case $f in
9596
common | ctangle | cweave | ctie | tie ) $CWEAVE $f ;;
96-
ctwill ) tie -m $f.w cweave.w $f-w2c.ch $f-mini.ch
97-
$CTWILL $f; $CTWILL $f ;;
97+
ctwill ) ;; # do nothing for CTWILL
9898
* ) weave $f ;;
9999
esac
100100
fi
101101

102+
# Format CTWILL in its own format
103+
if [ ctwill = $f ]
104+
then
105+
WEBINPUTS=/opt/github/cwebbin:$WEBINPUTS \
106+
tie -m $f.w cweave.w $f-w2c.ch $f-mini.ch
107+
cp -an /opt/github/cwebbin/*.bux .
108+
$CTWILL $f
109+
$CTWILL $f
110+
fi
111+
102112
# use extended macros for TeX Live PDF documentation
103113
if $NEW
104114
then

0 commit comments

Comments
 (0)