make dist: cleanup τεχ files before copying

This commit is contained in:
Michael Stapelberg 2011-07-31 22:18:48 +02:00
parent fca6420584
commit 7748db8b9a

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