Commit cf0fca30 authored by Martin Mareš's avatar Martin Mareš

Added `progspell' target which runs ispell on the progdoc SGML file with

all function, variable and structure names removed.
parent 1ae494a7
......@@ -33,8 +33,12 @@ prog.sgml:
%.txt: %.sgml
./sgml2txt $<
progspell: prog.sgml
sed -f prog-spell.sed <prog.sgml >prog.spell
ispell prog.spell
userdocs: bird.html bird.dvi bird.txt
clean:
rm -f *.html *.tex *.dvi *.log *.ps *.txt *.aux *.toc
rm -f *.html *.tex *.dvi *.log *.ps *.txt *.aux *.toc *.spell
rm -f prog.sgml
s%<type>[^<]*</type>%%g
s%<param>[^<]*</param>%%g
s%<func>[^<]*</func>%%g
s%<funcdef>[^<]*</funcdef>%%g
s%<type/[^</]*/%%g
s%<param/[^</]*/%%g
s%<func/[^</]*/%%g
s%<funcdef/[^</]*/%%g
s%<struct/[^</]*/%%g
s%<const/[^</]*/%%g
s%<[^<>/ ]\+/%%g
s%</\?[^<>/ ]*>%%g
s%&[^;]*;%%g
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment