aboutsummaryrefslogtreecommitdiff
path: root/package/quagga/quagga.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/quagga/quagga.mk')
-rw-r--r--package/quagga/quagga.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/quagga/quagga.mk b/package/quagga/quagga.mk
index b2945cf071..1e0041eabe 100644
--- a/package/quagga/quagga.mk
+++ b/package/quagga/quagga.mk
@@ -160,7 +160,10 @@ ifneq ($(BR2_PACKAGE_QUAGGA_HEADERS),y)
rm -rf $(TARGET_DIR)/usr/include/quagga
endif
ifneq ($(BR2_HAVE_MANPAGES),y)
- rm -rf $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/info
+ rm -rf $(TARGET_DIR)/usr/man
+endif
+ifneq ($(BR2_HAVE_INFOPAGES),y)
+ rm -rf $(TARGET_DIR)/usr/info
endif
quagga: uclibc $(TARGET_DIR)/usr/sbin/$(QUAGGA_TARGET_BINARY)