view 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
line wrap: on
line source

MAKE=make -f Makefile
LATEX=platex
BIBTEX=jbibtex
MENDEX=mendex
DVIPS=pdvips
DVI2PDF=dvipdfmx
DVI2PDF_OPT=-f ptex-hiragino.map

RM = rm -f

TARGET=handout
PS_SUFFIX=.ps
PDF_SUFFIX=.pdf

.SUFFIXES: .tex .dvi .pdf .toc

default: $(TARGET).pdf


.dvi.pdf:
	$(DVI2PDF) $(DVI2PDF_OPT) $^

.tex.dvi:
	$(LATEX) $< 

bib: dvi
	@echo "========== MAKE Bib file ($(MAIN_TARGET).dvi) =========="
	$(BIBTEX) $(MAIN_TARGET)


clean:
	@echo "remove $(TARGET).{aux,log,toc,lof,lot,blg,bbl,ilg,idx,ind,dvi,ps,pdf,out}"
	$(RM) $(TARGET).{aux,log,toc,lof,lot,blg,bbl,ilg,idx,ind,dvi,ps,pdf,out}

veryclean: clean
	find ./ -name \*~  -exec rm -f {} \;