Use BR2_HAVE_DOCUMENTATION instead of BR2_HAVE_{MANPAGES,INFOPAGES}
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 10 Apr 2010 20:47:05 +0000 (22:47 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 11 Apr 2010 04:01:08 +0000 (06:01 +0200)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/avahi/avahi.mk
package/axel/axel.mk
package/hdparm/hdparm.mk
package/ltrace/ltrace.mk
package/netsnmp/netsnmp.mk
package/pppd/pppd.mk
package/pptp-linux/pptp-linux.mk
package/rp-pppoe/rp-pppoe.mk

index b3e1d9bd8a54cb99e9e0fbf889d6abf3cb8c0f66..9940d280d95b6f631c29abcc2d9f2f290fd49d18 100644 (file)
@@ -75,7 +75,7 @@ AVAHI_CONF_OPT = --localstatedir=/var \
                --disable-monodoc \
                --disable-stack-protector \
                --with-distro=none \
-               $(if $(BR2_HAVE_MANPAGES),--enable,--disable)-manpages \
+               $(if $(BR2_HAVE_DOCUMENTATION),--enable,--disable)-manpages \
                $(if $(BR2_PACKAGE_AVAHI_AUTOIPD),--enable,--disable)-autoipd \
                --with-avahi-user=default \
                --with-avahi-group=default \
index 2e42a18c8b71146550acdee1fb0707363e22cadd..88917959c0e831bb714176128c1335e38df2faba 100644 (file)
@@ -32,7 +32,7 @@ $(AXEL_DIR)/$(AXEL_BINARY): $(AXEL_DIR)/Makefile.settings
 
 $(TARGET_DIR)/$(AXEL_TARGET_BINARY): $(AXEL_DIR)/$(AXEL_BINARY)
        $(MAKE) DESTDIR=$(TARGET_DIR) -C $(AXEL_DIR) install-bin
-ifeq ($(BR2_HAVE_MANPAGES),y)
+ifeq ($(BR2_HAVE_DOCUMENTATION),y)
        $(MAKE) DESTDIR=$(TARGET_DIR) -C $(AXEL_DIR) install-man
 endif
 
index c1b83c0bfc4685fe71fd195cd5b05f20d1243f5f..cc747eb5754625d5618aeb7d30b7299691e66987 100644 (file)
@@ -29,7 +29,7 @@ $(HDPARM_DIR)/$(HDPARM_BINARY): $(HDPARM_DIR)/.unpacked
 $(TARGET_DIR)/$(HDPARM_TARGET_BINARY): $(HDPARM_DIR)/$(HDPARM_BINARY)
        rm -f $(TARGET_DIR)/$(HDPARM_TARGET_BINARY)
        $(INSTALL) -D -m 0755 $(HDPARM_DIR)/$(HDPARM_BINARY) $(TARGET_DIR)/$(HDPARM_TARGET_BINARY)
-ifeq ($(BR2_HAVE_MANPAGES),y)
+ifeq ($(BR2_HAVE_DOCUMENTATION),y)
        $(INSTALL) -D $(HDPARM_DIR)/hdparm.8 $(TARGET_DIR)/usr/share/man/man8/hdparm.8
 endif
        $(STRIPCMD) $(STRIP_STRIP_ALL) $@
index 424c39d8722469e874cbb13be6351e843696a4cc..c99f223accb9ef9935852d8063f0e9aa2142ceab 100644 (file)
@@ -60,7 +60,7 @@ $(LTRACE_DIR)/$(LTRACE_BINARY): $(LTRACE_DIR)/.configured
 $(TARGET_DIR)/$(LTRACE_TARGET_BINARY): $(LTRACE_DIR)/$(LTRACE_BINARY)
        #$(MAKE) DESTDIR=$(TARGET_DIR) ARCH=$(LTRACE_ARCH)  -C $(LTRACE_DIR) install
        $(INSTALL) -D $(LTRACE_DIR)/$(LTRACE_BINARY) $@
-ifeq ($(BR2_HAVE_MANPAGES),y)
+ifeq ($(BR2_HAVE_DOCUMENTATION),y)
        $(INSTALL) -D $(LTRACE_DIR)/ltrace.1 \
                $(TARGET_DIR)/usr/share/man/man1/ltrace.1
 endif
index fb0151c8d62db3b42c0677cf3be6660dec1bb0bb..86f7a946d9a51001e22f3f537c2c1389a0a52cbe 100644 (file)
@@ -52,7 +52,7 @@ else
 NETSNMP_CONFIGURE_OPENSSL:=--without-openssl
 endif
 
-ifneq ($(findstring y,$(BR2_HAVE_MANPAGES)$(BR2_HAVE_INFOPAGES)),y)
+ifneq ($(BR2_HAVE_DOCUMENTATION),y)
 NETSNMP_DOCS:=--disable-manuals
 endif
 
index 32be428ffdb5fe652476f6632725a1ff35bd5b09..31ddbb6d37139281b170f8c58ebae17d0a8a38e2 100644 (file)
@@ -8,7 +8,7 @@ PPPD_VERSION = 2.4.5
 PPPD_SOURCE = ppp-$(PPPD_VERSION).tar.gz
 PPPD_SITE = ftp://ftp.samba.org/pub/ppp
 PPPD_TARGET_BINS = chat pppd pppdump pppstats
-PPPD_MANPAGES = $(if $(BR2_HAVE_MANPAGES),chat pppd pppdump pppstats)
+PPPD_MANPAGES = $(if $(BR2_HAVE_DOCUMENTATION),chat pppd pppdump pppstats)
 PPPD_MAKE = $(MAKE) CC=$(TARGET_CC) COPTS="$(TARGET_CFLAGS)" -C $(PPPD_DIR) $(PPPD_MAKE_OPT)
 
 ifeq ($(BR2_PACKAGE_PPPD_FILTER),y)
index db187d949e24ec6aabf841fdf11d3e7ffcc3047c..8de0832d6d98f0c640cd5cf3fddff67fcfb3a5dd 100644 (file)
@@ -51,7 +51,7 @@ $(PPTP_LINUX_DIR)/$(PPTP_LINUX_BINARY): $(PPTP_LINUX_DIR)/.unpacked
 
 $(TARGET_DIR)/$(PPTP_LINUX_TARGET_BINARY): $(PPTP_LINUX_DIR)/$(PPTP_LINUX_BINARY)
        cp -dpf $(PPTP_LINUX_DIR)/$(PPTP_LINUX_BINARY) $@
-ifeq ($(BR2_HAVE_MANPAGES),y)
+ifeq ($(BR2_HAVE_DOCUMENTATION),y)
        mkdir -p $(TARGET_DIR)/usr/share/man/man8
        $(INSTALL) -m 644 $(PPTP_LINUX_DIR)/pptp.8 $(TARGET_DIR)/usr/share/man/man8/pptp.8
 endif
index 1aa5467cd07a55e8083db2dc69253f413a00a1b3..bb17750da4dffa1051bf0607a8ec4f8d70e0d584 100644 (file)
@@ -53,7 +53,7 @@ $(RP_PPPOE_DIR)/$(RP_PPPOE_BINARY): $(RP_PPPOE_TOPDIR)/.configured
 
 $(TARGET_DIR)/$(RP_PPPOE_TARGET_BINARY): $(RP_PPPOE_DIR)/$(RP_PPPOE_BINARY)
        cp -dpf $(RP_PPPOE_DIR)/$(RP_PPPOE_BINARY) $@
-ifeq ($(BR2_HAVE_MANPAGES),y)
+ifeq ($(BR2_HAVE_DOCUMENTATION),y)
        mkdir -p $(TARGET_DIR)/usr/share/man/man8
        $(INSTALL) -m 644 $(RP_PPPOE_TOPDIR)/man/pppoe.8 $(TARGET_DIR)/usr/share/man/man8/pppoe.8
 endif