aboutsummaryrefslogtreecommitdiff
path: root/package/dialog
diff options
context:
space:
mode:
authorGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-09-17 12:30:31 +0000
committerGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-09-17 12:30:31 +0000
commite4c6340a949f64e6fc0294a1e41cf05dbaa82df9 (patch)
tree12a7f94b8461feec5eb1ad87481ddb06eb6834f8 /package/dialog
parentb14ff970126831720990961f0a7e2fd5f019365d (diff)
downloadbuildroot-e4c6340a949f64e6fc0294a1e41cf05dbaa82df9.tar.gz
buildroot-e4c6340a949f64e6fc0294a1e41cf05dbaa82df9.tar.bz2
- cleanup and fixes (Cristian Ionescu-Idbohrn)
Diffstat (limited to 'package/dialog')
-rw-r--r--package/dialog/dialog.mk10
1 files changed, 7 insertions, 3 deletions
diff --git a/package/dialog/dialog.mk b/package/dialog/dialog.mk
index 8a6494696c..e2c5f55b3a 100644
--- a/package/dialog/dialog.mk
+++ b/package/dialog/dialog.mk
@@ -26,7 +26,7 @@ $(DIALOG_DIR)/.configured: $(DIALOG_DIR)/.source
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--prefix=/usr \
- --sysconfdir=/etc \
+ --sysconfdir=/etc; \
)
touch $@
@@ -34,8 +34,12 @@ $(DIALOG_DIR)/$(DIALOG_BINARY): $(DIALOG_DIR)/.configured
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(DIALOG_DIR)
$(TARGET_DIR)/$(DIALOG_TARGET_BINARY): $(DIALOG_DIR)/$(DIALOG_BINARY)
- $(MAKE) prefix=$(TARGET_DIR)/usr -C $(DIALOG_DIR) install
- rm -Rf $(TARGET_DIR)/usr/man
+ $(MAKE) prefix=$(TARGET_DIR)/usr \
+ mandir=$(TARGET_DIR)/usr/share/man \
+ -C $(DIALOG_DIR) install
+ifneq ($(BR2_HAVE_MANPAGES),y)
+ rm -Rf $(TARGET_DIR)/usr/share/man
+endif
dialog: uclibc ncurses $(TARGET_DIR)/$(DIALOG_TARGET_BINARY)