diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-09-17 12:30:31 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-09-17 12:30:31 +0000 |
commit | e4c6340a949f64e6fc0294a1e41cf05dbaa82df9 (patch) | |
tree | 12a7f94b8461feec5eb1ad87481ddb06eb6834f8 /package/fakeroot/fakeroot.mk | |
parent | b14ff970126831720990961f0a7e2fd5f019365d (diff) |
- cleanup and fixes (Cristian Ionescu-Idbohrn)
Diffstat (limited to 'package/fakeroot/fakeroot.mk')
-rw-r--r-- | package/fakeroot/fakeroot.mk | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/package/fakeroot/fakeroot.mk b/package/fakeroot/fakeroot.mk index 15eb0ef17..546f2fd6b 100644 --- a/package/fakeroot/fakeroot.mk +++ b/package/fakeroot/fakeroot.mk @@ -87,8 +87,8 @@ $(FAKEROOT_DIR2)/.configured: $(FAKEROOT_SOURCE_DIR)/.unpacked --sysconfdir=/etc \ --datadir=/usr/share \ --localstatedir=/var \ - --mandir=/usr/man \ - --infodir=/usr/info \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ $(DISABLE_NLS) \ ) touch $@ @@ -99,10 +99,18 @@ $(FAKEROOT_DIR2)/faked: $(FAKEROOT_DIR2)/.configured $(TARGET_DIR)/usr/bin/fakeroot: $(FAKEROOT_DIR2)/faked $(MAKE) DESTDIR=$(TARGET_DIR) -C $(FAKEROOT_DIR2) install - -mv $(TARGET_DIR)/usr/bin/$(ARCH)-linux-faked $(TARGET_DIR)/usr/bin/faked - -mv $(TARGET_DIR)/usr/bin/$(ARCH)-linux-fakeroot $(TARGET_DIR)/usr/bin/fakeroot - rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \ - $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc + -mv $(TARGET_DIR)/usr/bin/$(ARCH)-linux-faked \ + $(TARGET_DIR)/usr/bin/faked + -mv $(TARGET_DIR)/usr/bin/$(ARCH)-linux-fakeroot \ + $(TARGET_DIR)/usr/bin/fakeroot +ifneq ($(BR2_HAVE_INFOPAGES),y) + rm -rf $(TARGET_DIR)/usr/share/info +endif +ifneq ($(BR2_HAVE_MANPAGES),y) + rm -rf $(TARGET_DIR)/usr/share/man +endif + rm -rf $(TARGET_DIR)/share/locale + rm -rf $(TARGET_DIR)/usr/share/doc touch -c $@ fakeroot: uclibc $(TARGET_DIR)/usr/bin/fakeroot |