summaryrefslogtreecommitdiffstats
path: root/package/gzip
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-04-03 11:30:13 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-04-03 11:30:13 +0000
commitba3892380be6136ad4b2e773e06ceac9d780fa5d (patch)
treebf86190a217ec6f3d8ed23e2b94c99c32c833e09 /package/gzip
parent93b377d6e26bc639b5b827d31696eaaf69d9aeb6 (diff)
downloadbuildroot-novena-ba3892380be6136ad4b2e773e06ceac9d780fa5d.tar.gz
buildroot-novena-ba3892380be6136ad4b2e773e06ceac9d780fa5d.zip
gzip: cleanup makefile
Cleanup configure args, strip executables in TARGET_DIR, install info / manpages into TARGET_DIR/usr/share/ and fixup convenience aliases (gunzip, zcat, zdiff, ..)
Diffstat (limited to 'package/gzip')
-rw-r--r--package/gzip/gzip.mk24
1 files changed, 3 insertions, 21 deletions
diff --git a/package/gzip/gzip.mk b/package/gzip/gzip.mk
index b292d6488..cf31c0cc1 100644
--- a/package/gzip/gzip.mk
+++ b/package/gzip/gzip.mk
@@ -30,15 +30,6 @@ $(GZIP_DIR)/.configured: $(GZIP_DIR)/.unpacked
--build=$(GNU_HOST_NAME) \
--prefix=/usr \
--exec-prefix=/ \
- --bindir=/bin \
- --sbindir=/bin \
- --libdir=/lib \
- --libexecdir=/usr/lib \
- --sysconfdir=/etc \
- --datadir=/usr/share/misc \
- --localstatedir=/var \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
$(DISABLE_NLS) \
$(DISABLE_LARGEFILE) \
)
@@ -48,22 +39,13 @@ $(GZIP_BINARY): $(GZIP_DIR)/.configured
$(MAKE) CC=$(TARGET_CC) -C $(GZIP_DIR)
$(GZIP_TARGET_BINARY): $(GZIP_BINARY)
- $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(GZIP_DIR) install
+ $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(GZIP_DIR) install-strip
ifneq ($(BR2_HAVE_INFOPAGES),y)
- rm -rf $(TARGET_DIR)/usr/info
+ rm -rf $(TARGET_DIR)/usr/share/info
endif
ifneq ($(BR2_HAVE_MANPAGES),y)
- rm -rf $(TARGET_DIR)/usr/man
+ rm -rf $(TARGET_DIR)/usr/share/man
endif
- rm -rf $(TARGET_DIR)/share/locale
- rm -rf $(TARGET_DIR)/usr/share/doc
- (cd $(TARGET_DIR)/bin; \
- $(HOSTLN) -snf gzip gunzip; \
- $(HOSTLN) -snf gzip zcat; \
- $(HOSTLN) -snf zdiff zcmp; \
- $(HOSTLN) -snf zgrep zegrep; \
- $(HOSTLN) -snf zgrep zfgrep; \
- )
gzip: uclibc $(GZIP_TARGET_BINARY)