Add directory to publish the PDF files that are synced with the Project Aon server
[project-aon.git] / common / pdf / build / extract-graphics.sh
1 #!/bin/sh
2 # Extract list of graphics used by a given TeX file
3
4 dir=`pwd`
5 file=`basename $dir`
6 tex="$file.tex"
7 grep graphics $tex |
8 perl -ne 'print $1."\n" if /{(\w+\.pdf)}/' |
9 sort -u
10