diff --git a/Makefile b/Makefile index a29fe59e..06063c01 100644 --- a/Makefile +++ b/Makefile @@ -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