]> git.sur5r.net Git - i3/i3/commitdiff
make dist: cleanup τεχ files before copying
authorMichael Stapelberg <michael@stapelberg.de>
Sun, 31 Jul 2011 20:18:48 +0000 (22:18 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 31 Jul 2011 20:18:48 +0000 (22:18 +0200)
Makefile

index a29fe59e577f85bd5833d767cb988c45722cec70..06063c0117cdbd5e4d9af164467a81ed3ae8a291 100644 (file)
--- 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