repositories
/
msc-thesis1617.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update presentation, the body is there
[msc-thesis1617.git]
/
build
diff --git
a/build
b/build
index
35b62ec
..
de903fe
100755
(executable)
--- a/
build
+++ b/
build
@@
-15,6
+15,16
@@
deps(){
while read l; do deps "$l"; done
}
while read l; do deps "$l"; done
}
+graphicdeps(){
+ grep -Pzo '\\includegraphics[%\t\n ]*(\[.*\])?[%\t\n ]*\{.*?\}' $1 |\
+ tr '\0' '\n' | grep -Po '(?<=\{).*?(?=\})' |\
+ while read l; do echo "$2/$l"; done
+}
+
+graphicspath(){
+ :
+}
+
recompile(){
for dep in $(deps "$1"); do
if [ "$dep" -nt "$2" ]; then
recompile(){
for dep in $(deps "$1"); do
if [ "$dep" -nt "$2" ]; then
@@
-84,7
+94,7
@@
clean(){
while [ $# -ne 0 ]; do
log "Clean $1"
rm -fv $1.{acn,acr,alg,aux,bbl,blg,idl,idx,ilg,ind,fmt,glg,glo,gls,\
while [ $# -ne 0 ]; do
log "Clean $1"
rm -fv $1.{acn,acr,alg,aux,bbl,blg,idl,idx,ilg,ind,fmt,glg,glo,gls,\
-ist,loa,lof,log,lol,lot,nav,out,pdf,snm,tdo,toc}
+ist,loa,lof,log,lol,lot,nav,out,pdf,snm,tdo,toc
,vrb
}
shift
done
}
shift
done
}