fix zlib compile for shells that can't handle {foo,bar}
authorFelix Fietkau <nbd@openwrt.org>
Sun, 21 Aug 2005 19:57:34 +0000 (19:57 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 21 Aug 2005 19:57:34 +0000 (19:57 +0000)
SVN-Revision: 1711

openwrt/package/zlib/Makefile

index 3b3f57700a5be611fb4cc7e7117b1f4051baf187..d543f595f16d73bf8f630397657a15b37a3f8dc9 100644 (file)
@@ -46,16 +46,17 @@ $(IPKG_ZLIB):
 
 $(STAGING_DIR)/usr/lib/libz.so: $(PKG_BUILD_DIR)/.built
        mkdir -p $(STAGING_DIR)/usr/include
-       cp -fpR $(PKG_INSTALL_DIR)/usr/include/z{conf,lib}.h $(STAGING_DIR)/usr/include
+       cp -fpR $(PKG_INSTALL_DIR)/usr/include/*.h $(STAGING_DIR)/usr/include
        mkdir -p $(STAGING_DIR)/usr/lib
-       cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libz.{a,so*} $(STAGING_DIR)/usr/lib
+       cp -fpR $(PKG_INSTALL_DIR)/usr/lib/* $(STAGING_DIR)/usr/lib
        touch $(STAGING_DIR)/usr/lib/libz.so
        
 install-dev: $(STAGING_DIR)/usr/lib/libz.so
 
 uninstall-dev:
-       rm -rf $(STAGING_DIR)/usr/include/z{conf,lib}.h
-       rm -rf $(STAGING_DIR)/usr/lib/libz.{a,so*}
+       rm -rf $(STAGING_DIR)/usr/include/zconf.h
+       rm -rf $(STAGING_DIR)/usr/include/zlib.h
+       rm -rf $(STAGING_DIR)/usr/lib/libz.*
 
 compile: install-dev
 clean: uninstall-dev