ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/tengDissertation/Makefile
Revision: 2852
Committed: Sun Jun 11 02:08:40 2006 UTC (18 years ago) by tim
File size: 1391 byte(s)
Log Message:
fix format error

File Contents

# User Rev Content
1 tim 2685 LBIN =/usr/local/bin
2     LC = $(LBIN)/latex
3     BC = $(LBIN)/bibtex
4     D2PS = $(LBIN)/dvips
5     D2PDF = dvipdf
6     XDVI = $(LBIN)/xdvi
7    
8     .SUFFIXES: $(SUFFIXES) .dvi .ps .bib .tex .bbl .pdf
9    
10     PAPER_ROOT = dissertation
11     PICTURES = \
12    
13    
14 tim 2851
15 tim 2685 # list section files in order of inclusion
16     INFILES = phdPreamble.tex \
17 tim 2851 Introduction.tex \
18     Methodology.tex \
19     Langevin.tex \
20     Lipid.tex\
21     LiquidCrystal.tex \
22     Conclusion.tex \
23     Appendix.tex \
24     phdBib.tex
25 tim 2685
26     PSVIEWER = ghostview
27    
28     #
29     # standard rules:
30     #
31     .dvi.ps:
32 tim 2852 touch $*.ps
33     /bin/rm $*.ps
34     @echo "compiling $*"
35     $(D2PS) -o $*.ps $<
36 tim 2685
37     .dvi.pdf:
38 tim 2852 touch $*.pdf
39     /bin/rm $*.pdf
40     @echo "compiling $*"
41     $(D2PDF) $< $*.pdf
42 tim 2685
43     all:: ${PAPER_ROOT}.psview
44    
45     dview:: ${PAPER_ROOT}.view
46    
47     current:: current.psview
48    
49     outline:: ${OUTLINE}.view
50    
51     gs:: ${PAPER_ROOT}.psview
52    
53     print: ${PAPER_ROOT}.ps ${PAPER_ROOT}.pdf
54    
55     ${PAPER_ROOT}.tex: ${INFILES} ${PAPER_ROOT}.bib ${PICTURES}
56 tim 2852 /bin/rm -rf ${PAPER_ROOT}.tex
57     for i in ${INFILES}; \
58     do cat $$i >> ${PAPER_ROOT}.tex; \
59     done;
60 tim 2685
61     ${PAPER_ROOT}.dvi: ${PAPER_ROOT}.tex
62 tim 2852 $(LC) ${PAPER_ROOT}
63     $(BC) ${PAPER_ROOT}
64     $(LC) ${PAPER_ROOT}
65     $(LC) ${PAPER_ROOT}
66 tim 2685
67     current.psview: current.ps
68 tim 2852 ${PSVIEWER} current.ps
69 tim 2685
70     ${PAPER_ROOT}.psview: ${PAPER_ROOT}.ps
71 tim 2852 ${PSVIEWER} ${PAPER_ROOT}.ps
72 tim 2685
73     ${PAPER_ROOT}.view: ${PAPER_ROOT}.dvi
74 tim 2852 $(XDVI) -fg black ${PAPER_ROOT}
75 tim 2685
76     clean::
77 tim 2852 /bin/rm -f *.aux *.log *.bbl *.blg *.dvi *.tbx *.fgx *~ *.fff *.lof mule.*