mirror of
https://github.com/TREX-CoE/fparser.git
synced 2024-12-23 12:57:35 +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)
|
||
|
|
||
|
|