makefile: pre-generate docs/

This commit is contained in:
Michael Stapelberg 2010-03-30 13:20:04 +02:00
parent 2f6dd0cb58
commit 1797daf1d5

View File

@ -77,6 +77,8 @@ dist: distclean
cp -r src i3-msg include man i3-${VERSION}
# Only copy toplevel documentation (important stuff)
mkdir i3-${VERSION}/docs
# Pre-generate documentation
make -C docs
find docs -maxdepth 1 -type f ! -name "*.xcf" -exec cp '{}' i3-${VERSION}/docs \;
# Only copy source code from i3-input
mkdir i3-${VERSION}/i3-input