move package/linux into target/linux, use wbx' new kernel code. support building...
[openwrt.git] / package / libpng / Makefile
index 6fb1c18..104331b 100644 (file)
@@ -48,13 +48,15 @@ $(PKG_BUILD_DIR)/.configured:
                  --enable-static \
                  --with-zlib=$(STAGING_DIR)/usr/ \
        )
                  --enable-static \
                  --with-zlib=$(STAGING_DIR)/usr/ \
        )
-       touch $(PKG_BUILD_DIR)/.configured
+       touch $@
 
 $(PKG_BUILD_DIR)/.built:
 
 $(PKG_BUILD_DIR)/.built:
+       rm -rf $(PKG_INSTALL_DIR)
        mkdir -p $(PKG_INSTALL_DIR)
        $(MAKE) -C $(PKG_BUILD_DIR) \
                DESTDIR="$(PKG_INSTALL_DIR)" \
                all install
        mkdir -p $(PKG_INSTALL_DIR)
        $(MAKE) -C $(PKG_BUILD_DIR) \
                DESTDIR="$(PKG_INSTALL_DIR)" \
                all install
+       touch $@
 
 $(IPKG_LIBPNG):
        install -d -m0755 $(IDIR_LIBPNG)/usr/lib
 
 $(IPKG_LIBPNG):
        install -d -m0755 $(IDIR_LIBPNG)/usr/lib
This page took 0.023017 seconds and 4 git commands to generate.