summaryrefslogtreecommitdiff
path: root/package/less
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-09-17 12:30:31 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-09-17 12:30:31 +0000
commite4c6340a949f64e6fc0294a1e41cf05dbaa82df9 (patch)
tree12a7f94b8461feec5eb1ad87481ddb06eb6834f8 /package/less
parentb14ff970126831720990961f0a7e2fd5f019365d (diff)
- cleanup and fixes (Cristian Ionescu-Idbohrn)
Diffstat (limited to 'package/less')
-rw-r--r--package/less/less.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/less/less.mk b/package/less/less.mk
index c6b6ae50f..5957cb520 100644
--- a/package/less/less.mk
+++ b/package/less/less.mk
@@ -15,7 +15,7 @@ $(DL_DIR)/$(LESS_SOURCE):
$(LESS_DIR)/.source: $(DL_DIR)/$(LESS_SOURCE)
$(ZCAT) $(DL_DIR)/$(LESS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
- touch $(LESS_DIR)/.source
+ touch $@
$(LESS_DIR)/.configured: $(LESS_DIR)/.source
(cd $(LESS_DIR); \
@@ -28,14 +28,16 @@ $(LESS_DIR)/.configured: $(LESS_DIR)/.source
--prefix=/usr \
--sysconfdir=/etc \
)
- touch $(LESS_DIR)/.configured
+ touch $@
$(LESS_DIR)/$(LESS_BINARY): $(LESS_DIR)/.configured
$(MAKE) CC=$(TARGET_CC) -C $(LESS_DIR)
$(TARGET_DIR)/$(LESS_TARGET_BINARY): $(LESS_DIR)/$(LESS_BINARY)
$(MAKE) prefix=$(TARGET_DIR)/usr -C $(LESS_DIR) install
+ifneq ($(BR2_HAVE_MANPAGES),y)
rm -Rf $(TARGET_DIR)/usr/man
+endif
less: uclibc ncurses $(TARGET_DIR)/$(LESS_TARGET_BINARY)