mirror of
https://github.com/TREX-CoE/fparser.git
synced 2024-11-03 20:54:11 +01:00
21 lines
287 B
Makefile
21 lines
287 B
Makefile
WP=2
|
|
NUMBER=1
|
|
TITLE=main
|
|
|
|
NAME=D$(WP).$(NUMBER)-$(TITLE)
|
|
TEX=$(NAME).tex
|
|
PDF=$(NAME).pdf
|
|
|
|
default: $(TEX) references.bib
|
|
pdflatex $(TEX)
|
|
pdflatex $(TEX)
|
|
bibtex $(TEX)
|
|
pdflatex $(TEX)
|
|
|
|
create:
|
|
@test -f $(TEX) && \
|
|
echo "File $(TEX) already exists" ||\
|
|
cp main.tex $(TEX)
|
|
|
|
|