mirror of
https://github.com/TREX-CoE/fparser.git
synced 2024-08-24 22:21:45 +02: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)
|
|
|
|
|