ADT
aaron-thesis
arm-eh
ast-experimental
cleanup-dtors
ctor
deferred_resn
demangler
enum
forall-pointer-decay
gc_noraii
jacob/cs343-translation
jenkins-sandbox
memory
new-ast
new-ast-unique-expr
new-env
no_list
persistent-indexer
pthread-emulation
qualifiedEnum
resolv-new
string
with_gc
|
Last change
on this file since 05f0d98 was 05f0d98, checked in by Peter A. Buhr <pabuhr@…>, 10 years ago |
|
fix missing .ind problme during build
|
-
Property mode
set to
100644
|
|
File size:
1.6 KB
|
| Rev | Line | |
|---|
| [f60d997] | 1 | ## Define the appropriate configuration variables.
|
|---|
| 2 |
|
|---|
| 3 | TeXLIB = .::
|
|---|
| 4 | LaTeX = TEXINPUTS=${TeXLIB} && export TEXINPUTS && latex
|
|---|
| 5 | BibTeX = BSTINPUTS=${TeXLIB} && export BSTINPUTS && bibtex
|
|---|
| 6 |
|
|---|
| 7 | ## Define the text source files.
|
|---|
| 8 |
|
|---|
| 9 | SOURCE = ${addsuffix .tex, \
|
|---|
| 10 | refrat \
|
|---|
| 11 | }
|
|---|
| 12 |
|
|---|
| 13 | FIGURES = ${addsuffix .tex, \
|
|---|
| 14 | }
|
|---|
| 15 |
|
|---|
| 16 | PICTURES = ${addsuffix .pstex, \
|
|---|
| 17 | }
|
|---|
| 18 |
|
|---|
| 19 | PROGRAMS = ${addsuffix .tex, \
|
|---|
| 20 | }
|
|---|
| 21 |
|
|---|
| 22 | GRAPHS = ${addsuffix .tex, \
|
|---|
| 23 | }
|
|---|
| 24 |
|
|---|
| 25 | ## Define the documents that need to be made.
|
|---|
| 26 |
|
|---|
| 27 | DOCUMENT = refrat.pdf
|
|---|
| 28 |
|
|---|
| 29 | # Directives #
|
|---|
| 30 |
|
|---|
| 31 | all : ${DOCUMENT}
|
|---|
| 32 |
|
|---|
| 33 | clean :
|
|---|
| 34 | rm -f *.bbl *.aux *.dvi *.idx *.ilg *.ind *.brf *.out *.log *.toc *.blg *.pstex_t ${FIGURES} ${PICTURES} ${PROGRAMS} ${GRAPHS} ${basename ${DOCUMENT}}.ps ${DOCUMENT}
|
|---|
| 35 |
|
|---|
| 36 | # File Dependencies #
|
|---|
| 37 |
|
|---|
| 38 | ${DOCUMENT} : ${basename ${DOCUMENT}}.ps
|
|---|
| 39 | ps2pdf $<
|
|---|
| 40 |
|
|---|
| 41 | ${basename ${DOCUMENT}}.ps : ${basename ${DOCUMENT}}.dvi
|
|---|
| 42 | dvips $< -o $@
|
|---|
| 43 |
|
|---|
| [05f0d98] | 44 | ${basename ${DOCUMENT}}.dvi : Makefile ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCE} ${basename ${DOCUMENT}}.bbl
|
|---|
| [f60d997] | 45 | ${LaTeX} ${basename $@}.tex
|
|---|
| 46 | if fgrep -s "Label(s) may have changed" ${basename $@}.log ; then ${LaTeX} ${basename $@}.tex ; fi
|
|---|
| 47 | makeindex -s indexstyle ${basename $@}.idx
|
|---|
| 48 | ${LaTeX} ${basename $@}.tex
|
|---|
| 49 | ${LaTeX} ${basename $@}.tex % to get index title in toc
|
|---|
| 50 |
|
|---|
| [05f0d98] | 51 | ${basename ${DOCUMENT}}.bbl : ${basename ${DOCUMENT}}.tex refrat.bib
|
|---|
| 52 | if [ ! -r ${basename $@}.ind ] ; then touch ${basename $@}.ind ; fi
|
|---|
| [f60d997] | 53 | if [ ! -r ${basename $@}.aux ] ; then ${LaTeX} ${basename $@}.tex ; fi
|
|---|
| 54 | -${BibTeX} ${basename $@}
|
|---|
| 55 | ${LaTeX} ${basename $@}.tex
|
|---|
| 56 | -${BibTeX} ${basename $@}
|
|---|
| 57 |
|
|---|
| 58 | ## Define the default recipes.
|
|---|
| 59 |
|
|---|
| 60 | %.tex : %.fig
|
|---|
| 61 | fig2dev -L eepic $< > $@
|
|---|
| 62 |
|
|---|
| 63 | %.ps : %.fig
|
|---|
| 64 | fig2dev -L ps $< > $@
|
|---|
| 65 |
|
|---|
| 66 | # Local Variables: #
|
|---|
| 67 | # compile-command: "make" #
|
|---|
| 68 | # End: #
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.