makefile: pre-generate docs/

This commit is contained in:
Michael Stapelberg 2010-03-30 13:20:04 +02:00
parent 61cb07d576
commit 5ac7a52573

View File

@ -87,6 +87,8 @@ dist: distclean
cp -r src i3-msg i3-nagbar i3-config-wizard yajl-fallback include man i3-${VERSION} cp -r src i3-msg i3-nagbar i3-config-wizard yajl-fallback include man i3-${VERSION}
# Only copy toplevel documentation (important stuff) # Only copy toplevel documentation (important stuff)
mkdir i3-${VERSION}/docs mkdir i3-${VERSION}/docs
# Pre-generate documentation
make -C docs
find docs -maxdepth 1 -type f ! -name "*.xcf" -exec cp '{}' i3-${VERSION}/docs \; find docs -maxdepth 1 -type f ! -name "*.xcf" -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