Fix cups install
authorNicolas Thill <nico@openwrt.org>
Mon, 11 Apr 2005 01:35:26 +0000 (01:35 +0000)
committerNicolas Thill <nico@openwrt.org>
Mon, 11 Apr 2005 01:35:26 +0000 (01:35 +0000)
SVN-Revision: 625

openwrt/package/cups/Makefile

index 33f283574f38b623b238e7dd446c00a732a049dd..237773f8b95d268e23f4266f6ce918f72b0eaa60 100644 (file)
@@ -90,10 +90,14 @@ $(PKG_IPK): $(PKG_IPK_DIR)/usr/sbin/cupsd
        find $(PKG_IPK_DIR) -name CVS | xargs rm -rf
        $(IPKG_BUILD) $(PKG_IPK_DIR) $(PACKAGE_DIR)
 
+$(IPKG_STATE_DIR)/info/$(PKG_NAME).list
+       $(IPKG) install $(PKG_IPK)
+
 source: $(DL_DIR)/$(PKG_SOURCE)
 prepare: $(PKG_BUILD_DIR)/.patched
 compile: $(PKG_IPK)
-install:
-       $(IPKG) install $(PKG_IPK)
+install: $(IPKG_STATE_DIR)/info/$(PKG_NAME).list
+
 clean:
        rm -rf $(PKG_BUILD_DIR)
+       rm -f $(PKG_IPK)