summaryrefslogtreecommitdiff
path: root/package/pppd
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-03-22 13:59:54 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-03-22 14:05:14 +0100
commita7d8592333fc89d667562688703ad405121fb575 (patch)
tree180abb3d579b5655f4a77c00bbbea3d2be4385fb /package/pppd
parent60f2fb4f94a36e1e0f9653da8e7c9f44ed3307ee (diff)
pppd: only install manpages if BR2_HAVE_MANPAGES is enabled
They do get removed in target-finalize, but we might as well not install them in the first place. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/pppd')
-rw-r--r--package/pppd/pppd.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/pppd/pppd.mk b/package/pppd/pppd.mk
index 6620abc18..32be428ff 100644
--- a/package/pppd/pppd.mk
+++ b/package/pppd/pppd.mk
@@ -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 = chat pppd pppdump pppstats
+PPPD_MANPAGES = $(if $(BR2_HAVE_MANPAGES),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)