add .java files to zips:
This commit is contained in:
parent
f8a992b215
commit
c08bda8b84
4
Makefile
4
Makefile
@ -81,7 +81,7 @@ publication-pdf-with-solutions: publication-dir main.tex
|
|||||||
# Build a ZIP file with tasks and without solutions
|
# Build a ZIP file with tasks and without solutions
|
||||||
publication-zip-with-exercises: publication-dir main.tex
|
publication-zip-with-exercises: publication-dir main.tex
|
||||||
rm -rf temp/*
|
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/
|
cp --parents exercises/**/* temp/
|
||||||
rm -f temp/exercises/**/*.done.{tex,bib}
|
rm -f temp/exercises/**/*.done.{tex,bib}
|
||||||
rm -f temp/exercises/**/*.rend.tex
|
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
|
# Build a ZIP file with tasks and solutions
|
||||||
publication-zip-with-solutions: publication-dir main.tex
|
publication-zip-with-solutions: publication-dir main.tex
|
||||||
rm -rf temp/*
|
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/
|
cp --parents exercises/**/* temp/
|
||||||
rm -f temp/exercises/**/*.raw.{tex,bib}
|
rm -f temp/exercises/**/*.raw.{tex,bib}
|
||||||
find temp/ -name '*.done.*' -exec bash -c 'sed "s/\.done\./\./g" <<<{} | xargs mv {}' \;
|
find temp/ -name '*.done.*' -exec bash -c 'sed "s/\.done\./\./g" <<<{} | xargs mv {}' \;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user