view Paper/Makefile @ 5:17c01f69db69 draft default tip

finish
author Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
date Mon, 23 Jul 2012 11:58:20 +0900
parents c0689037215f
children
line wrap: on
line source

# Created by Daichi Toma on Nov 16, 2011

TARGET=paper

LATEX=platex
BIBTEX=pbibtex
DVIPDF=dvipdfmx
#You need setting "-l" option if You think You get a landscape PDF
#DVIPDF_OPT=-l

#Embed fonts
#DVIPDF_OPT=-f hiraginoEmbed.map

.SUFFIXES: .tex .dvi .pdf

.tex.dvi:
	$(LATEX) $<
	$(BIBTEX) $(TARGET)
	$(LATEX) $<
	$(LATEX) $<

.dvi.pdf:
	$(DVIPDF) $(DVIPDF_OPT) $<


all: $(TARGET).pdf
	open $(TARGET).pdf

dvi: $(TARGET).dvi

pdf: $(TARGET).pdf


clean:
	rm -f *.dvi *.aux *.log *.pdf *.ps *.gz *.bbl *.blg *~ *.core