comparison resume/Makefile @ 10:3d9addf62d0b

organized repository.
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Tue, 16 Feb 2010 14:35:36 +0900
parents
children
comparison
equal deleted inserted replaced
9:ae0a3666f7f9 10:3d9addf62d0b
1 MAKE=make -f Makefile
2 LATEX=platex
3 BIBTEX=jbibtex
4 MENDEX=mendex
5 DVIPS=pdvips
6 DVI2PDF=dvipdfmx
7 DVI2PDF_OPT=-f ptex-hiragino.map
8
9 RM = rm -f
10
11 TARGET=handout
12 PS_SUFFIX=.ps
13 PDF_SUFFIX=.pdf
14
15 .SUFFIXES: .tex .dvi .pdf .toc
16
17 default: $(TARGET).pdf
18
19
20 .dvi.pdf:
21 $(DVI2PDF) $(DVI2PDF_OPT) $^
22
23 .tex.dvi:
24 $(LATEX) $<
25
26 bib: dvi
27 @echo "========== MAKE Bib file ($(MAIN_TARGET).dvi) =========="
28 $(BIBTEX) $(MAIN_TARGET)
29
30
31 clean:
32 @echo "remove $(TARGET).{aux,log,toc,lof,lot,blg,bbl,ilg,idx,ind,dvi,ps,pdf,out}"
33 $(RM) $(TARGET).{aux,log,toc,lof,lot,blg,bbl,ilg,idx,ind,dvi,ps,pdf,out}
34
35 veryclean: clean
36 find ./ -name \*~ -exec rm -f {} \;