convert chillispot to new packaging style
[openwrt.git] / package / cifsmount / Makefile
index 0fa6a1f..bfd2c9b 100644 (file)
@@ -19,10 +19,14 @@ $(PKG_IPK): $(PKG_BUILD_DIR)/sbin/mount.cifs
        $(SCRIPT_DIR)/make-ipkg-dir.sh $(PKG_IPK_DIR) $(PKG_NAME).control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)
        $(IPKG_BUILD) $(PKG_IPK_DIR) $(PACKAGE_DIR)
 
+$(IPKG_STATE_DIR)/info/$(PKG_NAME).list:
+       $(IPKG) install $(PKG_IPK)
+
 source:
 prepare:
 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)
This page took 0.020785 seconds and 4 git commands to generate.