diff --git a/macos/clean.sh b/macos/clean.sh new file mode 100755 index 00000000..69261044 --- /dev/null +++ b/macos/clean.sh @@ -0,0 +1,4 @@ +#!/bin/sh +# +echo "manually performs 'make clean'" +rm -rf *.aux *.d *.toc *.out *.log *.nav *.snm *.sbx *.sxd diff --git a/macos/cleanall.sh b/macos/cleanall.sh new file mode 100755 index 00000000..387262e3 --- /dev/null +++ b/macos/cleanall.sh @@ -0,0 +1,5 @@ +#!/bin/sh +# +echo "manually performs 'make cleanall'" +./clean +rm -rf *.pdf diff --git a/macos/make.sh b/macos/make.sh new file mode 100755 index 00000000..6a1ad16c --- /dev/null +++ b/macos/make.sh @@ -0,0 +1,14 @@ +#!/bin/sh +# +echo "build tex file from songbook file" +./songbook.py --songbook=books/$1.sb --output=$1.tex + +echo "first pdf compilation" +/usr/texbin/pdflatex $1.tex + +echo "build indexes" +./songbook-makeindex.py $1_title.sxd > $1_title.sbx +./songbook-makeindex.py $1_auth.sxd > $1_auth.sbx + +echo "second compilation to include indexes" +/usr/texbin/pdflatex $1.tex