diff --git a/run.sh b/run.sh index f29238f..27429c5 100755 --- a/run.sh +++ b/run.sh @@ -12,8 +12,15 @@ if test "$(ls -A /tex)"; then TARGET="*.tex" fi + # Build in build dir + BUILD=$(date | sha256sum | cut -f1 -d' ') + mkdir $BUILD + cd $BUILD + + echo "$ECHOPREFIX Targetting $TARGET" + # Build the PDF - texi2pdf $TARGET + texi2pdf ../$TARGET else # Directory is empty echo "=> Please mount your directory to /tex"