summaryrefslogtreecommitdiffstats
path: root/package/pppd
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-09-19 18:07:58 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-09-19 18:07:58 +0000
commit9bc30ca901be8f01f6dab61ed1c5364d4db08d8e (patch)
treee66aa0a13e05d2e43cd8bf5c29a23476c4673e9f /package/pppd
parent01b79e4980cb1a491c7ca42d67213d898510143f (diff)
downloadbuildroot-novena-9bc30ca901be8f01f6dab61ed1c5364d4db08d8e.tar.gz
buildroot-novena-9bc30ca901be8f01f6dab61ed1c5364d4db08d8e.zip
- take MANPAGES and INFOPAGES into account
Diffstat (limited to 'package/pppd')
-rw-r--r--package/pppd/pppd.mk14
1 files changed, 12 insertions, 2 deletions
diff --git a/package/pppd/pppd.mk b/package/pppd/pppd.mk
index ff88ba1ac..1a200e6f0 100644
--- a/package/pppd/pppd.mk
+++ b/package/pppd/pppd.mk
@@ -56,8 +56,17 @@ $(PPPD_DIR)/$(PPPD_BINARY): $(PPPD_DIR)/.configured
$(TARGET_DIR)/$(PPPD_TARGET_BINARY): $(PPPD_DIR)/$(PPPD_BINARY)
$(MAKE1) DESTDIR=$(TARGET_DIR)/usr CC=$(TARGET_CC) -C $(PPPD_DIR) install
- rm -rf $(TARGET_DIR)/usr/share/locale $(TARGET_DIR)/usr/info \
- $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc
+ifneq ($(BR2_ENABLE_LOCALE),y)
+ rm -rf $(TARGET_DIR)/usr/share/locale
+endif
+ifneq ($(BR2_HAVE_MANPAGES),y)
+ rm -rf $(TARGET_DIR)/usr/share/man
+endif
+ifneq ($(BR2_HAVE_INFOPAGES),y)
+ rm -rf $(TARGET_DIR)/usr/info
+endif
+ rm -rf $(TARGET_DIR)/usr/share/doc
+ rm -rf $(TARGET_DIR)/usr/include/pppd
pppd: uclibc $(TARGET_DIR)/$(PPPD_TARGET_BINARY)
@@ -67,6 +76,7 @@ pppd-clean:
rm -f $(TARGET_DIR)/usr/sbin/pppstatus
rm -f $(TARGET_DIR)/usr/sbin/pppdump
rm -rf $(TARGET_DIR)/etc/ppp
+ rm -rf $(TARGET_DIR)/usr/include/pppd
-$(MAKE) -C $(PPPD_DIR) clean
pppd-dirclean: