summaryrefslogtreecommitdiff
path: root/package/openntpd
diff options
context:
space:
mode:
Diffstat (limited to 'package/openntpd')
-rw-r--r--package/openntpd/openntpd.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/openntpd/openntpd.mk b/package/openntpd/openntpd.mk
index 974582865..dc680c1e4 100644
--- a/package/openntpd/openntpd.mk
+++ b/package/openntpd/openntpd.mk
@@ -54,8 +54,9 @@ $(TARGET_DIR)/$(OPENNTPD_TARGET_BINARY): $(OPENNTPD_DIR)/$(OPENNTPD_BINARY)
$(MAKE) DESTDIR=$(TARGET_DIR) STRIP_OPT="" -C $(OPENNTPD_DIR) install
-$(STRIP) $(TARGET_DIR)/$(OPENNTPD_TARGET_BINARY)
cp -af $(OPENNTPD_DIR)/ntpd.conf $(TARGET_DIR)/etc/ntpd.conf
- # Why on earth do we wipe the whole man directory here?
- #rm -Rf $(TARGET_DIR)/usr/man
+ifneq ($(BR2_HAVE_MANPAGES),y)
+ rm -Rf $(TARGET_DIR)/usr/share/man
+endif
ntpd: uclibc $(TARGET_DIR)/$(OPENNTPD_TARGET_BINARY)