From 848fbe4c4779a2d1e7a0c46a07964b15755d55c1 Mon Sep 17 00:00:00 2001 From: Stoiko Ivanov Date: Tue, 4 Jun 2019 16:12:03 +0200 Subject: [PATCH] buildsys: only update sa-updates explicitly Adding a dependency to ${SA_UPDATE_GPG_DIR}/.prepared caused make to run the sa-updates.tgz recipe unless you had a ${SA_UPDATE_GPG_DIR} from a previous run. Since updating the spamassassin rules shipped with the package should probably be only updated explicitly changing the dependency to an order-only one, stops the extra sa-update buildstep. Signed-off-by: Stoiko Ivanov --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7f3bb53..71df225 100644 --- a/Makefile +++ b/Makefile @@ -50,7 +50,7 @@ ${SA_UPDATE_GPG_DIR}/.prepared: ${OPKGNAME}.tar.gz rm sa-update-pubkey.txt touch $@ -sa-updates.tgz: ${SA_UPDATE_GPG_DIR}/.prepared +sa-updates.tgz: | ${SA_UPDATE_GPG_DIR}/.prepared rm -rf updates.tmp sa-update --gpghomedir ${SA_UPDATE_GPG_DIR} --updatedir updates.tmp --channel updates.spamassassin.org tar cvzf sa-updates.tgz --exclude=local.cf --exclude=regression_tests.cf --exclude=*.txt --exclude=MIRRORED.BY -C updates.tmp/updates_spamassassin_org/ .