make dist: cleanup τεχ files before copying
This commit is contained in:
parent
e18dd21075
commit
e0703b8150
2
Makefile
2
Makefile
|
@ -99,6 +99,8 @@ dist: distclean
|
||||||
mkdir i3-${VERSION}/docs
|
mkdir i3-${VERSION}/docs
|
||||||
# Pre-generate documentation
|
# Pre-generate documentation
|
||||||
make -C docs
|
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 \;
|
find docs -maxdepth 1 -type f ! \( -name "*.xcf" -or -name "*.svg" \) -exec cp '{}' i3-${VERSION}/docs \;
|
||||||
# Only copy source code from i3-input
|
# Only copy source code from i3-input
|
||||||
mkdir i3-${VERSION}/i3-input
|
mkdir i3-${VERSION}/i3-input
|
||||||
|
|
Loading…
Reference in New Issue