| 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 |
echo "\begin{theindex}" >index.tex; \ |
| 19 |
echo "\mbox{}" >>index.tex; \ |
| 20 |
echo "\end{theindex}" >>index.tex |
| 21 |
|
| 22 |
ids:; \ |
| 23 |
echo "\chapter{ML Functions in the numeral Library}" >entries.tex; \ |
| 24 |
echo "\input{entries-intro}" >>entries.tex; \ |
| 25 |
/bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/entries entries.tex |
| 26 |
|
| 27 |
thms:; \ |
| 28 |
echo "\chapter{Pre-proved Theorems}" > theorems.tex; \ |
| 29 |
echo "\input{theorems-intro}" >> theorems.tex; \ |
| 30 |
echo "\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 |