diff --git a/Makefile b/Makefile index 8fbb95b..e4d852a 100644 --- a/Makefile +++ b/Makefile @@ -81,7 +81,7 @@ publication-pdf-with-solutions: publication-dir main.tex # Build a ZIP file with tasks and without solutions publication-zip-with-exercises: publication-dir main.tex rm -rf temp/* - cp --parents main.tex praeamble.tex commands.tex content/* graphics/* listings/**/*{.tex,pdf,bib} temp/ + cp --parents main.tex praeamble.tex commands.tex content/* graphics/* listings/**/*{.tex,pdf,bib,java} temp/ cp --parents exercises/**/* temp/ rm -f temp/exercises/**/*.done.{tex,bib} rm -f temp/exercises/**/*.rend.tex @@ -92,7 +92,7 @@ publication-zip-with-exercises: publication-dir main.tex # Build a ZIP file with tasks and solutions publication-zip-with-solutions: publication-dir main.tex rm -rf temp/* - cp --parents main.tex praeamble.tex commands.tex content/* graphics/* listings/**/*.{tex,pdf,bib} temp/ + cp --parents main.tex praeamble.tex commands.tex content/* graphics/* listings/**/*.{tex,pdf,bib,java} temp/ cp --parents exercises/**/* temp/ rm -f temp/exercises/**/*.raw.{tex,bib} find temp/ -name '*.done.*' -exec bash -c 'sed "s/\.done\./\./g" <<<{} | xargs mv {}' \;