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
|
||||
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 {}' \;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user