From b4e7510acf710c26775bd9b03880c9075ffe77a4 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Sun, 30 Jul 2006 17:09:22 +0000
Subject: [PATCH] create a package index

SVN-Revision: 4337
---
 openwrt/Makefile         | 1 +
 openwrt/package/Makefile | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/openwrt/Makefile b/openwrt/Makefile
index a23f478d7c..85091f618e 100644
--- a/openwrt/Makefile
+++ b/openwrt/Makefile
@@ -116,6 +116,7 @@ world: .config FORCE
 	$(MAKE) package/compile
 	$(MAKE) package/install
 	$(MAKE) target/install
+	$(MAKE) package/index
 
 clean: FORCE
 	rm -rf build_* bin
diff --git a/openwrt/package/Makefile b/openwrt/package/Makefile
index 629ce88109..85f852fd54 100644
--- a/openwrt/package/Makefile
+++ b/openwrt/package/Makefile
@@ -55,3 +55,6 @@ install:
 	rm -rf $(BUILD_DIR)/root
 	$(MAKE) install-targets
 
+index: FORCE
+	(cd $(PACKAGE_DIR); $(STAGING_DIR)/usr/bin/ipkg-make-index . > Packages)
+
-- 
GitLab