Clear old LaTeX intermediate files before building a booke.

Old ones can cause the build to error.
This commit is contained in:
Jim Hague 2024-04-12 17:35:05 +01:00
parent 5e593c20d2
commit 0fd030fde6
1 changed files with 4 additions and 0 deletions

View File

@ -29,6 +29,10 @@ shift
mkdir -p $builddir
# Clear any XeLaTeX intermediate/generated files in case old ones
# interfere with the build. This has been known to happen.
rm $builddir/dottes.*
if [ $# -eq 1 ]; then
bookename=$1
for item in title subtitle instrument