forked from marfrit/marfrit-packages
distcc-avahi: skip doc build when Makefile absent
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -56,7 +56,8 @@ build() {
|
|||||||
--enable-rfc2553 \
|
--enable-rfc2553 \
|
||||||
--with-docdir="/usr/share/doc/${pkgname}"
|
--with-docdir="/usr/share/doc/${pkgname}"
|
||||||
make
|
make
|
||||||
make -C doc
|
# Archive tarball has no doc/ Makefile; skip man/html build.
|
||||||
|
[ -f doc/Makefile ] && make -C doc || true
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
|
|||||||
Reference in New Issue
Block a user