]> git.proxmox.com Git - proxmox-spamassassin.git/commitdiff
buildsys: only update sa-updates explicitly
authorStoiko Ivanov <s.ivanov@proxmox.com>
Tue, 4 Jun 2019 14:12:03 +0000 (16:12 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 4 Jun 2019 16:14:56 +0000 (18:14 +0200)
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>
Makefile

index 7f3bb53de1a10ce43da4b6b9a193428b9cf84640..71df225a24b7cb3163a10da36c4d73356d8dfc60 100644 (file)
--- 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/ .