source: doc/proposals/concurrency/Makefile @ db0fa7c

aaron-thesisarm-ehcleanup-dtorsdeferred_resndemanglerjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerresolv-newwith_gc
Last change on this file since db0fa7c was db0fa7c, checked in by Thierry Delisle <tdelisle@…>, 5 years ago

Moved files and did some cleanup in the directories

  • Property mode set to 100644
File size: 2.4 KB
Line 
1## Define the appropriate configuration variables.
2
3TeXLIB = .:../../LaTeXmacros:../../LaTeXmacros/listings:../../LaTeXmacros/enumitem:~/bibliographies:
4LaTeX  = TEXINPUTS=${TeXLIB} && export TEXINPUTS && latex -halt-on-error
5BibTeX = BIBINPUTS=${TeXLIB} && export BIBINPUTS && bibtex
6
7## Define the text source files.
8
9SOURCES = ${addsuffix .tex, \
10thesis \
11style \
12cfa-format \
13glossary \
14}
15
16FIGURES = ${addsuffix .tex, \
17        monitor \
18        ext_monitor \
19}
20
21PICTURES = ${addsuffix .pstex, \
22}
23
24PROGRAMS = ${addsuffix .tex, \
25}
26
27GRAPHS = ${addsuffix .tex, \
28}
29
30## Define the documents that need to be made.
31
32DOCUMENT = thesis.pdf
33
34# Directives #
35
36all : ${DOCUMENT}
37
38clean :
39        rm -f *.bbl *.aux *.dvi *.idx *.ilg *.ind *.brf *.out *.log *.toc *.blg *.pstex_t *.cf *.glg *.glo *.gls *.ist *.acn *.acr *.alg \
40                ${FIGURES} ${PICTURES} ${PROGRAMS} ${GRAPHS} ${basename ${DOCUMENT}}.ps ${DOCUMENT}
41
42# File Dependencies #
43
44${DOCUMENT} : build/${basename ${DOCUMENT}}.ps
45        ps2pdf $<
46
47build/${basename ${DOCUMENT}}.ps : ${basename ${DOCUMENT}}.dvi
48        dvips $< -o $@
49
50build/${basename ${DOCUMENT}}.dvi : Makefile ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} ${basename ${DOCUMENT}}.tex \
51                ../../LaTeXmacros/common.tex ../../LaTeXmacros/indexstyle
52        # Conditionally create the build folder
53        if [ ! -r build ] ; then mkdir build ; fi
54        # # Conditionally create an empty *.ind (index) file for inclusion until makeindex is run.
55        # if [ ! -r ${basename $@}.ind ] ; then touch ${basename $@}.ind ; fi
56        # # Must have *.aux file containing citations for bibtex
57        # if [ ! -r ${basename $@}.aux ] ; then ${LaTeX} ${basename $@}.tex ; fi
58        # -${BibTeX} ${basename $@}
59        # # Some citations reference others so run steps again to resolve these citations
60        # ${LaTeX} ${basename $@}.tex
61        # -${BibTeX} ${basename $@}
62        # # Make index from *.aux entries and input index at end of document
63        # makeglossaries ${basename $@}
64        # #${LaTeX} ${basename $@}.tex
65        # # Run again to get index title into table of contents
66        # ${LaTeX} ${basename $@}.tex
67        # -./bump_ver.sh
68        # ${LaTeX} ${basename $@}.tex
69
70
71predefined :
72        sed -f predefined.sed ${basename ${DOCUMENT}}.tex > ${basename $@}.cf
73
74## Define the default recipes.
75
76build/%.tex : %.fig
77        fig2dev -L eepic $< > $@
78
79build/%.ps : %.fig
80        fig2dev -L ps $< > $@
81
82build/%.pstex : %.fig
83        fig2dev -L pstex $< > $@
84        fig2dev -L pstex_t -p $@ $< > $@_t
85
86
87# Local Variables: #
88# compile-command: "make" #
89# End: #
Note: See TracBrowser for help on using the repository browser.