Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
timmenzies committed Aug 1, 2024
1 parent 0c64852 commit 60ab0b8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
18 changes: 14 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,8 @@ push : ## save
sub(/^```.*/,"") { code = 1 - code } \
{ print (code ? "" : "-- ") $$0 }' $^ > $@
luac -p $@

--right-footer="%s. of %s#" \

~/tmp/%.pdf: %.py ## .lua ==> .pdf
~/tmp/%.pdf: %.py ## make doco: .py ==> .pdf
mkdir -p ~/tmp
echo "pdf-ing $@ ... "
a2ps \
Expand All @@ -46,7 +44,7 @@ push : ## save
ps2pdf $@.ps $@; rm $@.ps
open $@

~/tmp/%.pdf: %.lua ## .lua ==> .pdf
~/tmp/%.pdf: %.lua ## male doco: .lua ==> .pdf
mkdir -p ~/tmp
echo "pdf-ing $@ ... "
a2ps \
Expand All @@ -65,3 +63,15 @@ push : ## save
-o $@.ps $<
ps2pdf $@.ps $@; rm $@.ps
open $@

~/tmp/%.md : %.py ## make doco: py -> md
gawk -f inc/py2html.awk $^ > $@

~/tmp/%.html : ~/tmp/%.md ## make doco: md -> html
cp inc/ezr.css ~/tmp
- cp -f inc/*.png ~/tmp/
pandoc --toc -c ezr.css \
--metadata title="Scripting AI (just the important bits)" \
-s --highlight-style tango -o $@ $^


2 changes: 1 addition & 1 deletion etc/help.awk
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ BEGIN {
print "\nmake [WHAT]"
}
/^[^ \t].*##/ {
printf(" %s%-12s%s : %s\n", COLOR, $1, RESET, $2) | "sort"
printf(" %s%-15s%s : %s\n", COLOR, $1, RESET, $2) | "sort"
}

0 comments on commit 60ab0b8

Please sign in to comment.