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 <s.ivanov@proxmox.com>
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/ .