summaryrefslogtreecommitdiffstats
path: root/package/at/at.mk
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-08-21 17:00:18 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-08-21 17:00:18 +0000
commitb978dbdc727d119abac37fe10cfd3b488d3d0292 (patch)
treeec7052bd3ad6c402f7ee17ae6a431cb9641a0057 /package/at/at.mk
parent02430b3be0eac524f5e8ebc999e92f21ed15d5c0 (diff)
downloadbuildroot-novena-b978dbdc727d119abac37fe10cfd3b488d3d0292.tar.gz
buildroot-novena-b978dbdc727d119abac37fe10cfd3b488d3d0292.zip
- honour BR2_HAVE_MANPAGES
Diffstat (limited to 'package/at/at.mk')
-rw-r--r--package/at/at.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/package/at/at.mk b/package/at/at.mk
index 4ade6aa86..4e7855dd0 100644
--- a/package/at/at.mk
+++ b/package/at/at.mk
@@ -48,9 +48,12 @@ $(AT_DIR)/$(AT_BINARY): $(AT_DIR)/.configured
$(TARGET_DIR)/$(AT_TARGET_SCRIPT): $(AT_DIR)/$(AT_BINARY)
# Use fakeroot to pretend to do 'make install' as root
echo '$(MAKE) DAEMON_USERNAME=root DAEMON_GROUPNAME=root ' \
- '$(TARGET_CONFIGURE_OPTS) DESTDIR=$(TARGET_DIR) -C $(AT_DIR) install' \
+ '$(TARGET_CONFIGURE_OPTS) DESTDIR=$(TARGET_DIR) -C $(AT_DIR) install' \
> $(PROJECT_BUILD_DIR)/.fakeroot.at
- echo 'rm -rf $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/doc/at' >> $(PROJECT_BUILD_DIR)/.fakeroot.at
+ifneq ($(BR2_HAVE_MANPAGES),y)
+ echo 'rm -rf $(TARGET_DIR)/usr/man' >> $(PROJECT_BUILD_DIR)/.fakeroot.at
+endif
+ echo 'rm -rf $(TARGET_DIR)/usr/doc/at' >> $(PROJECT_BUILD_DIR)/.fakeroot.at
$(INSTALL) -m 0755 -D $(AT_DIR)/debian/rc $(TARGET_DIR)/$(AT_TARGET_SCRIPT)
at: uclibc host-fakeroot $(TARGET_DIR)/$(AT_TARGET_SCRIPT)