diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -9,6 +9,7 @@ python -c "import matplotlib" >/dev/null || ( echo "Install matplotlib" && exit gs --version >/dev/null || echo "Ghostscript not installed (no PNG poster)" cp Makefile.orig Makefile + for tgt in */document.tex; do DIR=$(dirname $tgt) ( echo -en "\n${DIR}/document.pdf: ${DIR}/document.tex "; find $DIR \!\ @@ -16,3 +17,8 @@ for tgt in */document.tex; do echo -e "\noutputs/${DIR}.pdf: ${DIR}/document.pdf outputs\n\tcp -f $< \$@"\ >> Makefile done + +for gen in gen/*.orig.tex; do + BASE=$(basename $gen .orig.tex) + echo "gen/${BASE}.tex: gen/make${BASE}.sh gen/${BASE}.orig.tex" >> Makefile +done |