aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: abb0fdd2059171423fc1f5181e4614b3eb8c7b0a (plain)
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
# -*- make -*-
# FILE: "/mnt/light_huge_archive/home/evmik/jobs/jobs_seek/recommendation_by_me/recommendation4KevinCox/Makefile"
# LAST MODIFICATION: "Mon, 22 Nov 2010 00:44:43 -0500 (evmik)"
# (C) 2005 by Eugeniy Mikhailov, <evmik@ligo.mit.edu>
# $Id:$

source_files  = $(wildcard *.tex)
source_basename = $(source_files:%.tex=%)

tex_targets  = $(wildcard *.tex)
pdf_targets  = $(tex_targets:%.tex=%.pdf)	
dir_with_incluses = ./body/	
tex_includes = $(wildcard $(dir_with_incluses)/*.tex)

pdf: $(pdf_targets) 

$(pdf_targets): %.pdf : %.tex 
	#pdflatex  --interaction nonstopmode $(source_basename).tex
	rubber -d $<

clean:
	rm -f $(tex_targets:%.tex=%.dvi)
	rm -f $(tex_targets:%.tex=%.log)
	rm -f $(tex_targets:%.tex=%.aux)
	rm -f $(tex_targets:%.tex=%.nav)
	rm -f $(tex_targets:%.tex=%.out)
	rm -f $(tex_targets:%.tex=%.snm)
	rm -f $(tex_targets:%.tex=%.toc)
	rm -f $(tex_targets:%.tex=%.vrb)
	rm -f missfont.log


real_clean: clean
	rm -f $(pdf_targets)