Tamarin/hooks/postbuild/texlive/export-dist

14 lines
238 B
Bash
Executable File

#!/bin/bash
function move_output_to_dist {
find . -maxdepth 1 -name "$1" -type f -print0 | xargs -0r mv -t /dist/
}
# Create new directory
mkdir -p /dist
# Move generated files
move_output_to_dist "*.pdf"
tamarin_success "Done :-)"