Mercurial > hg > Papers > 2022 > ikki-master
view Paper/Makefile @ 23:9a6609a2f987
twaek
author | ichikitakahiro <e165713@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 10 Feb 2022 01:08:27 +0900 |
parents | 3d8fcd42a513 |
children |
line wrap: on
line source
MAKE=make -f Makefile LATEX=uplatex BIBTEX=pbibtex MAKEINDEX=upmendex DVIPS=dvips DVIPDFM=dvipdfmx TARGET=master_paper PS_SUFFIX=.ps PDF_SUFFIX=.pdf .SUFFIXES: .tex .dvi # commands .PHONY : clean open remake $(TARGET).pdf:$(TARGET).dvi @echo "========== GENERATE PDF file ==========" $(LATEX) $(TARGET) > /dev/null $(DVIPDFM) $(TARGET) open $(TARGET).pdf $(TARGET).dvi: $(wildcard *.tex) $(wildcard chapter/*.tex) @echo "========== PUBLISHING ==========" @echo "\t first..." $(LATEX) $(TARGET) > /dev/null $(BIBTEX) $(TARGET) -$(MAKEINDEX) $(TARGET) @echo "\t second..." $(LATEX) $(TARGET) open:$(TARGET).pdf open $(TARGET).pdf clean: rm -f *.dvi *.aux *.log *.ilg *.ps *.gz *.bbl *.blg *.toc *~ *.core *.cpt *.lof *.lot *.lol *.bbl *.blg *.idx src/*.replaced *.fdb_latexmk *.fls remake: make clean make