# HG changeset patch # User Yasutaka Higa # Date 1429072918 -32400 # Node ID 7275328d2637ab5b50485e7cc4dc334db7dedc47 # Parent fff20fb5b6b63a1f123beee3876dd956ebb326d6 Add Makefile and hgignore diff -r fff20fb5b6b6 -r 7275328d2637 .hgignore --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.hgignore Wed Apr 15 13:41:58 2015 +0900 @@ -0,0 +1,10 @@ +syntax: glob + +.DS_Store +*.swp + +*.log +*.aux +*.dvi +*.toc +*.cpt diff -r fff20fb5b6b6 -r 7275328d2637 Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Makefile Wed Apr 15 13:41:58 2015 +0900 @@ -0,0 +1,27 @@ +# target name +TARGET=bare_conf + +# dependencies +$(TARGET).pdf : $(TARGET).dvi + dvipdfmx $< + +$(TARGET).dvi : $(wildcard **/*.tex) $(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