view Makefile @ 48:0601ae302e39

Added tag resubmit for changeset f0074de1335f
author Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
date Thu, 25 Dec 2014 17:44:06 +0900
parents 15ca58a54b6a
children
line wrap: on
line source

# target name
TARGET=sigse

# dependencies
$(TARGET).pdf : $(TARGET).dvi
	dvipdfmx $<

$(TARGET).dvi : $(wildcard **/*.tex) $(TARGET).tex
	gsed -i -e "s/。/./g" $(TARGET).tex
	gsed -i -e "s/、/,/g" $(TARGET).tex
	platex $(TARGET).tex
	platex $(TARGET).tex
	platex $(TARGET).tex


# commands
.PHONY : clean all open remake

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

all: $(TARGET).pdf

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

remake:
	make clean
	make all