Browse Source

Suppression de fichiers obsolètes

pull/3/head
Louis 11 years ago
parent
commit
155fab382d
  1. 6
      macos/clean.sh
  2. 5
      macos/cleanall.sh
  3. 14
      macos/make.sh
  4. 4
      windows/clean.bat
  5. 4
      windows/cleanall.bat
  6. 12
      windows/make.bat

6
macos/clean.sh

@ -1,6 +0,0 @@
#!/bin/sh
#
echo "manually performs 'make clean'"
rm -rf *.aux *.d *.toc *.out *.log *.nav *.snm *.sbx *.sxd
echo "remove temporary covers"
rm -rf covers/

5
macos/cleanall.sh

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

14
macos/make.sh

@ -1,14 +0,0 @@
#!/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

4
windows/clean.bat

@ -1,4 +0,0 @@
Rem manually performs "make clean"
FOR %%A IN (*.aux *.d *.toc *.out *.log *.nav *.snm *.sbx *.sxd) DO DEL %%A
Rem remove temporary covers
FOR %%A IN (cache\songbook\*.jpg) DO DEL %%A

4
windows/cleanall.bat

@ -1,4 +0,0 @@
Rem remove pdf files
FOR %%A IN (*.pdf) DO DEL %%A
Rem manually performs "make cleanall"
windows\\clean.bat

12
windows/make.bat

@ -1,12 +0,0 @@
Rem build tex file from songbook file
python songbook.py --songbook=books\%1.sb --output=%1.tex
Rem 1st pdf compilation
pdflatex %1.tex
Rem build indexes
python songbook-makeindex.py %1_title.sxd > %1_title.sbx
python songbook-makeindex.py %1_auth.sxd > %1_auth.sbx
Rem 2nd compilation to include indexes
pdflatex %1.tex
Loading…
Cancel
Save