Compilation des pdf individuels dans un dossier separe.

This commit is contained in:
Thomas Schwery 2011-03-10 15:11:34 +01:00
parent 59cc105e88
commit ef7271605a

View file

@ -1,4 +1,5 @@
INDIVID_FOLDER =recettes_individ
INDIVID_FOLDER_PDF =recettes_individ_pdf
CHAPTERS=chapters
all:
perl -pi -e 's/}{Oeuf/}{Œuf/g' `find chapters -name '*.tex'`;
@ -15,13 +16,14 @@ clean:
individ:
mkdir -p ${INDIVID_FOLDER}
mkdir -p ${INDIVID_FOLDER_PDF}
for i in `ls -d ${CHAPTERS}/*/`; do perl indiv.pl $$i ${INDIVID_FOLDER}; done;
rubber -d ${INDIVID_FOLDER}/*.tex;
rubber --clean ${INDIVID_FOLDER}/*.tex;
rubber -I . --into ${INDIVID_FOLDER_PDF} -d ${INDIVID_FOLDER}/*.tex;
rubber --into ${INDIVID_FOLDER_PDF} --clean ${INDIVID_FOLDER}/*.tex;
individ-clean:
touch ${INDIVID_FOLDER}/asdf.tex;
rubber --clean ${INDIVID_FOLDER}/*.tex;
rubber --into ${INDIVID_FOLDER_PDF} --clean ${INDIVID_FOLDER}/*.tex;
rm -f ${INDIVID_FOLDER}/*.tex
rm -f *.pdf