diff mbox

chrony: disable docs build

Message ID 1409599517-29607-1-git-send-email-gustavo@zacarias.com.ar
State Accepted
Commit 2dbdd7c1df69b6efd0f5eb49a98db1ec04026bba
Headers show

Commit Message

Gustavo Zacarias Sept. 1, 2014, 7:25 p.m. UTC
Needs makeinfo and we don't care about docs. Fixes:
http://autobuild.buildroot.net/results/fd0/fd03a86ed670c765d9f0a1ed6cc913079e030fc9/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/chrony/chrony.mk | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Peter Korsgaard Sept. 1, 2014, 8:13 p.m. UTC | #1
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 > Needs makeinfo and we don't care about docs. Fixes:
 > http://autobuild.buildroot.net/results/fd0/fd03a86ed670c765d9f0a1ed6cc913079e030fc9/

 > Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Committed, thanks.
diff mbox

Patch

diff --git a/package/chrony/chrony.mk b/package/chrony/chrony.mk
index 59e5bfc..4fdb81f 100644
--- a/package/chrony/chrony.mk
+++ b/package/chrony/chrony.mk
@@ -27,6 +27,12 @@  ifneq ($(BR2_INET_IPV6),y)
 CHRONY_CONF_OPT += --disable-ipv6
 endif
 
+# Ditch the doc build, needs makeinfo and we don't need them
+define CHRONY_DISABLE_DOCS
+	$(SED) 's/chronyc chrony.txt/chronyc/' $(@D)/Makefile.in
+endef
+CHRONY_POST_PATCH_HOOKS += CHRONY_DISABLE_DOCS
+
 define CHRONY_CONFIGURE_CMDS
 	cd $(@D) && $(TARGET_CONFIGURE_OPTS) ./configure $(CHRONY_CONF_OPT)
 endef