From: James Hilliard Date: Sun, 19 Apr 2020 22:40:09 +0000 (-0600) Subject: package/apcupsd: disable docs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=21d19f5c74a6e954364fd6b58b6a86e1091042c6;p=buildroot.git package/apcupsd: disable docs We can skip building docs by only running make against subdirs that are not "doc". Fixes: http://autobuild.buildroot.net/results/e65/e65c23c3c1cae9aa9d697323fabf8a6f310fc3ba/build-end.log Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- diff --git a/package/apcupsd/apcupsd.mk b/package/apcupsd/apcupsd.mk index e750657236..ff9cc9242f 100644 --- a/package/apcupsd/apcupsd.mk +++ b/package/apcupsd/apcupsd.mk @@ -64,4 +64,14 @@ else APCUPSD_CONF_OPTS += --disable-usb endif +define APCUPSD_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/platforms +endef + +define APCUPSD_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src DESTDIR=$(TARGET_DIR) install + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/platforms DESTDIR=$(TARGET_DIR) install +endef + $(eval $(autotools-package))