]> git.somenet.org - fsinf/basics.git/blob - build.sh
updated Mitwirkende
[fsinf/basics.git] / build.sh
1 #!/bin/bash
2 ./gitinfohook.sh
3 pdflatex basics.tex
4 pdflatex out.tex
5
6 grep '*{file}' basics.dep | cut -d'{' -f3 | sed -e 's/}//g' -e 's#^#./#g' | sort | uniq > basics.dep.tmp
7 (find ./images ./articles ./fillers -type f; cat basics.dep.tmp basics.dep.tmp) | sort | uniq -u > basics.dep.unused
8 rm basics.dep.tmp
9
10 echo -e "\n\n\n*** DONE ***\n"
11 echo "unused ./images ./articles ./fillers:"
12 cat basics.dep.unused
13 echo ""