| 1 |
# ===================================================================== |
| 2 |
# Makefile for the string library documentation |
| 3 |
# ===================================================================== |
| 4 |
|
| 5 |
# --------------------------------------------------------------------- |
| 6 |
# Pathname to the string help files |
| 7 |
# --------------------------------------------------------------------- |
| 8 |
Help=../help |
| 9 |
|
| 10 |
# --------------------------------------------------------------------- |
| 11 |
# Pathname to the doc-to-tex script and doc-to-tex.sed file |
| 12 |
# --------------------------------------------------------------------- |
| 13 |
DOCTOTEX=../../../Manual/Reference/bin/doc-to-tex |
| 14 |
DOCTOTEXSED=../../../Manual/Reference/bin/doc-to-tex.sed |
| 15 |
|
| 16 |
# --------------------------------------------------------------------- |
| 17 |
# Pathname to the makeindex script |
| 18 |
# --------------------------------------------------------------------- |
| 19 |
MAKEINDEX=../../../Manual/LaTeX/makeindex ../../../ |
| 20 |
|
| 21 |
default: |
| 22 |
@echo "INSTRUCTIONS: Type \"make all\" to make the documentation" |
| 23 |
|
| 24 |
# --------------------------------------------------------------------- |
| 25 |
# Remove all trace of previous LaTeX jobs |
| 26 |
# --------------------------------------------------------------------- |
| 27 |
clean: |
| 28 |
rm -f *.dvi *.aux *.toc *.log *.idx *.ilg |
| 29 |
@echo "\begin{theindex}" > index.tex |
| 30 |
@echo "\mbox{}" >> index.tex |
| 31 |
@echo "\end{theindex}" >> index.tex |
| 32 |
|
| 33 |
tex: ids theorems |
| 34 |
@echo "TeX files made" |
| 35 |
|
| 36 |
ids: |
| 37 |
@echo "\chapter{ML Functions in the string Library}">entries.tex |
| 38 |
@echo "\input{entries-intro}" >> entries.tex |
| 39 |
/bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/entries entries.tex |
| 40 |
|
| 41 |
theorems: |
| 42 |
@echo "\chapter{Pre-proved Theorems}" > theorems.tex |
| 43 |
@echo "\input{theorems-intro}" >> theorems.tex |
| 44 |
@echo "\section{Definitions}">>theorems.tex |
| 45 |
/bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/defs theorems.tex |
| 46 |
@echo "\section{Theorems}">>theorems.tex |
| 47 |
/bin/sh ${DOCTOTEX} ${DOCTOTEXSED} ${Help}/thms theorems.tex |
| 48 |
|
| 49 |
index: |
| 50 |
${MAKEINDEX} string.idx index.tex |
| 51 |
|
| 52 |
string: |
| 53 |
latex string.tex |
| 54 |
|
| 55 |
all: |
| 56 |
make clean; make tex; make string; make index; make string |