Mercurial > hg > Papers > 2012 > nobu-thesis
view paper/Makefile @ 4:be5b510b6d44 draft
add some files
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 21 Feb 2012 17:38:51 +0900 |
parents | b939c5aae834 |
children | 6a667be77762 |
line wrap: on
line source
DVIPDF = dvipdfmx LATEX = platex PS2PDF = ps2pdf14 DVIPS = /usr/local/ptetex/bin/pdvips BKMK2UNI = ~/src/bkmk2uni TARGET1 = thesis TARGET2 = resume #SLIDE1 = slide PDFs = $(TARGET1).pdf $(TARGET2).pdf DVIs = $(TARGET1).dvi $(TARGET2).dvi TEXs = $(TARGET1).tex $(TARGET2).tex .SUFFIXES: .tex .dvi .pdf all: $(PDFs) .dvi.pdf: $(DVIPDF) $^ .tex.dvi: $(LATEX) $^ $(SLIDE1).pdf: $(SLIDE1).ps $(PS2PDF) $^ $(SLIDE1).ps: $(SLIDE1).dvi $(DVIPS) $^ if [ -x $(BKMK2UNI) ]; then\ mv $@ $@.tmp;\ $(BKMK2UNI) -e < $@.tmp > $@;\ fi clean: rm -f *.{aux,log,nav,out,snm} distclean: clean rm -f $(DVIs) $(PDFs) *.{dvi} twice: distclean $(DVIs) .rmdvi $(PDFs) .rmdvi: rm -f $(DVIs)