-
Notifications
You must be signed in to change notification settings - Fork 12
/
Makefile_alternate
49 lines (38 loc) · 1.22 KB
/
Makefile_alternate
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# This Makefile uses the program "rubber" to
# implement Latex dependencies instead of GNU Make:
# http://www.pps.jussieu.fr/~beffara/soft/rubber/
# You can download and install this program to use
# this Makefile, which is functionally equivalent
# to Makefile. Or, just use "rubber" at the
# command line to create your files. The
# advantage to "Makefile" is that interdependencies
# between Latex source files (*.tex files) are handled
# automatically. Of course, both this and Makefile
# are completely optional as far as the dissertation
# template is concerned. You are free to just use
# Latex manually.
#
# Created by Curtis Cooper
# Last Modified: 03/20/06
RUBBER = rubber
PS_VIEWER = gv
PDF_VIEWER = acroread
all:
$(RUBBER) --ps special_abstract.tex
$(RUBBER) -vv --ps dissertation.tex
pdf:
$(RUBBER) --pdf special_abstract.tex
$(RUBBER) -vv --post=dvipdfm dissertation.tex
view: all
$(PS_VIEWER) dissertation.ps &
show: view
view_pdf: pdf
$(PDF_VIEWER) dissertation.pdf &
show_pdf: view_pdf
clean:
$(RUBBER) --ps --pdf --clean special_abstract.tex
$(RUBBER) --ps --pdf --clean dissertation.tex
realclean: clean
/bin/rm -f *~
clobber: realclean
.PHONY: all pdf view show view_pdf show_pdf clean realclean clobber