| 1 |
#===========================================# |
| 2 |
# Make the manual for the "numeral" library # |
| 3 |
#===========================================# |
| 4 |
|
| 5 |
Help=../help |
| 6 |
DOCTOTEX=../../../Manual/Reference/bin/doc-to-tex |
| 7 |
DOCTOTEXSED=../../../Manual/Reference/bin/doc-to-tex.sed |
| 8 |
|
| 9 |
# --------------------------------------------------------------------- |
| 10 |
# Pathname to the makeindex script |
| 11 |
# --------------------------------------------------------------------- |
| 12 |
MAKEINDEX=../../../Manual/LaTeX/makeindex ../../../ |
| 13 |
|
| 14 |
all:; make clean; make thms; make ids; make numeral; make index; make numeral |
| 15 |
|
| 16 |
clean:; \ |
| 17 |
rm -f *.dvi *.aux *.toc *.log *.idx *.ilg entries.tex; \ |
| •18 |
printf '\\begin{theindex}' >index.tex; \ |
| 19 |
printf '\\mbox{}' >>index.tex; \ |
| 20 |
printf '\\end{theindex}' >>index.tex |
| 21 |
|
| 22 |
ids:; \ |
| •23 |
printf '\\chapter{ML Functions in the numeral Library}' >entries.tex; \ |
| 24 |
printf '\\input{entries-intro}' >>entries.tex; \ |
| 25 |
/bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/entries entries.tex |
| 26 |
|
| 27 |
thms:; \ |
| •28 |
printf '\\chapter{Pre-proved Theorems}' > theorems.tex; \ |
| 29 |
printf '\\input{theorems-intro}' >> theorems.tex; \ |
| 30 |
printf '\\section{Numeral theory}' >> theorems.tex; \ |
| 31 |
/bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/thms/numeral theorems.tex |
| 32 |
|
| 33 |
index:; \ |
| 34 |
${MAKEINDEX} numeral.idx index.tex |
| 35 |
|
| 36 |
numeral:; \ |
| 37 |
latex numeral.tex |