summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/Makefile b/package/Makefile
index 85f852fd5..c2015b3a4 100644
--- a/package/Makefile
+++ b/package/Makefile
@@ -55,6 +55,8 @@ install:
rm -rf $(BUILD_DIR)/root
$(MAKE) install-targets
-index: FORCE
+index: $(PACKAGE_DIR)/Packages
+
+$(PACKAGE_DIR)/Packages: $(PACKAGE_DIR)/*.ipk
(cd $(PACKAGE_DIR); $(STAGING_DIR)/usr/bin/ipkg-make-index . > Packages)