Browse Source

Add macos specific scripts to build a songbook (windows like)

remotes/bexa/master
Alexandre Dupas 13 years ago
committed by Romain Goffe
parent
commit
7bf9718b3e
  1. 4
      macos/clean.sh
  2. 5
      macos/cleanall.sh
  3. 14
      macos/make.sh

4
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

5
macos/cleanall.sh

@ -0,0 +1,5 @@
#!/bin/sh
#
echo "manually performs 'make cleanall'"
./clean
rm -rf *.pdf

14
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
Loading…
Cancel
Save