diff --git a/Makefile b/Makefile index a9ee974..c884b57 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ -# howto add rule updates: +include /usr/share/dpkg/pkg-info.mk# howto add rule updates: + # edit paths ($srcdir) in changes.pl # update changes.diff - verify changes! @@ -16,11 +17,9 @@ # # edit debin/rules to apply updates -PKGREL=3 -SAVER=3.4.2 -OPKGNAME = Mail-SpamAssassin-${SAVER} -NPKGNAME = proxmox-spamassassin_${SAVER} -DEB = proxmox-spamassassin_${SAVER}-${PKGREL}_amd64.deb +OPKGNAME = Mail-SpamAssassin-${DEB_VERSION_UPSTREAM} +NPKGNAME = proxmox-spamassassin_${DEB_VERSION_UPSTREAM} +DEB = proxmox-spamassassin_${DEB_VERSION_UPSTREAM_REVISION}_amd64.deb EXTRA_RULES = KAM.cf