Mercurial > hg > Papers > 2023 > soto-master
view Paper/Makefile @ 32:4915eaa51ee0 default tip
Add front
author | soto <soto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 23 Feb 2023 18:39:56 +0900 |
parents | f0d512637e52 |
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) $(LATEX) $(TARGET) > /dev/null $(BIBTEX) $(TARGET) -$(MAKEINDEX) $(TARGET) @echo "\t second..." $(LATEX) $(TARGET) > /dev/null 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 ./**/*.replaced *.fdb_latexmk *.fls remake: make clean make