make dist: cleanup τεχ files before copying

This commit is contained in:
Michael Stapelberg 2011-07-31 22:18:48 +02:00
parent e18dd21075
commit e0703b8150
1 changed files with 2 additions and 0 deletions

View File

@ -99,6 +99,8 @@ dist: distclean
mkdir i3-${VERSION}/docs
# Pre-generate documentation
make -C docs
# Cleanup τεχ output files
find docs -regex ".*\.\(aux\|out\|log\|toc\|bm\|dvi\|log\)" -exec rm '{}' \;
find docs -maxdepth 1 -type f ! \( -name "*.xcf" -or -name "*.svg" \) -exec cp '{}' i3-${VERSION}/docs \;
# Only copy source code from i3-input
mkdir i3-${VERSION}/i3-input