X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=package%2FMakefile;h=f82654cf900a286289dc7cbc09750cdcaecc20ac;hb=b81685f0a416e5501f1734b410027e05e9a4f006;hp=bac7001c4f691b72ead600a9e8a0aed9cc2e3027;hpb=cbdd346b11c6f125f48cdb1e95870d16e5c0d628;p=oweals%2Fopenwrt.git diff --git a/package/Makefile b/package/Makefile index bac7001c4f..f82654cf90 100644 --- a/package/Makefile +++ b/package/Makefile @@ -130,16 +130,16 @@ ifndef CONFIG_OPKGSMIME_PASSPHRASE endif $(curdir)/index: FORCE + @echo Generating package index... + @(cd $(PACKAGE_DIR); \ + $(SCRIPT_DIR)/ipkg-make-index.sh . 2>&1 > Packages && \ + gzip -9c Packages > Packages.gz ) ifeq ($(call qstrip,$(CONFIG_OPKGSMIME_KEY)),) @echo Signing key has not been configured else ifeq ($(call qstrip,$(CONFIG_OPKGSMIME_CERT)),) @echo Certificate has not been configured else - @echo Generating package index... - @(cd $(PACKAGE_DIR); \ - $(SCRIPT_DIR)/ipkg-make-index.sh . 2>&1 > Packages && \ - gzip -9c Packages > Packages.gz ) @echo Signing package index... @(cd $(PACKAGE_DIR); \ openssl smime -binary -in Packages.gz \