$(eval $(call all-target,library_doc_index,libraries/index.html))
INSTALL_LIBRARY_DOCS += libraries/*.html libraries/*.gif libraries/*.css libraries/*.js
+ifeq "$(CHECK_PACKAGES)" "YES"
+all: check_packages
+endif
+
# -----------------------------------------------------------------------------
# Bootstrapping libraries
# -----------------------------------------------------------------------------
# Binary distributions
-$(eval $(call bindist,.,\
+# This is split in 2 because of the shell argument limit
+$(eval $(call bindist,root1,\
LICENSE \
configure config.sub config.guess install-sh \
extra-gcc-opts.in \
$(INSTALL_BINS) \
$(INSTALL_DOCS) \
$(INSTALL_LIBRARY_DOCS) \
+ ))
+$(eval $(call bindist,root2,\
$(addsuffix /*,$(INSTALL_HTML_DOC_DIRS)) \
docs/index.html \
$(wildcard libraries/*/dist-install/doc/) \