Add makefile and .gitignore
This commit is contained in:
parent
8312ff762e
commit
a7ce1604ee
9
.gitignore
vendored
Normal file
9
.gitignore
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
*.out
|
||||
*.log
|
||||
*.aux
|
||||
|
||||
_minted-*
|
||||
build
|
||||
result
|
||||
|
||||
images/unsorted
|
13
Makefile
Normal file
13
Makefile
Normal file
@ -0,0 +1,13 @@
|
||||
inputs = 1124 2118-2128 2238 2245 4410-4412 4456 5108 5432 5518-5528 5568 7210
|
||||
dir = build
|
||||
|
||||
all: $(inputs)
|
||||
|
||||
$(inputs) : % : %.tex
|
||||
pdflatex -shell-escape $@.tex
|
||||
if ! test -d "$(dir)"; then mkdir build; fi
|
||||
mv $@.pdf build/
|
||||
rm $@.log
|
||||
|
||||
clean:
|
||||
rm -r _minted* *.aux *.out
|
Loading…
Reference in New Issue
Block a user