Move to subdirectory
This commit is contained in:
parent
9c452f5f22
commit
fdb5d06dbf
15 changed files with 8 additions and 6 deletions
31
report/Makefile
Normal file
31
report/Makefile
Normal file
|
@ -0,0 +1,31 @@
|
|||
TEX=report
|
||||
|
||||
DOTFIGURES=coffeemachine.game.tex coffeemachine.strat.tex
|
||||
|
||||
REMOTE=www.tobast
|
||||
REMOTEDIR=~/tobast.fr/public_html/l3/report.pdf
|
||||
|
||||
###################################################
|
||||
|
||||
DOTFIGURES_PATH=$(patsubst %,_build/dot/%,$(DOTFIGURES))
|
||||
|
||||
all: $(TEX).tex $(DOTFIGURES_PATH)
|
||||
pdflatex $(TEX)
|
||||
bibtex $(TEX)
|
||||
pdflatex $(TEX)
|
||||
pdflatex $(TEX)
|
||||
|
||||
upload: all
|
||||
scp $(TEX).pdf $(REMOTE):$(REMOTEDIR)
|
||||
|
||||
_build:
|
||||
mkdir -p _build
|
||||
mkdir -p _build/dot
|
||||
|
||||
_build/dot/%.tex: dot/%.dot _build
|
||||
cat $< | dot2tex -ftikz --codeonly > $@
|
||||
|
||||
clean:
|
||||
rm -rf _build
|
||||
rm -f *.aux *.bbl *.blg *.log *.out *.pdf *.toc
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue