From: Thomas Lamprecht Date: Tue, 23 Jul 2019 19:10:53 +0000 (+0200) Subject: buildsys: read version from changelog X-Git-Url: https://git.proxmox.com/?p=libxdgmime-perl.git;a=commitdiff_plain;h=5fb3d080ce22cf2849adddb090c8350ead780ce5 buildsys: read version from changelog Signed-off-by: Thomas Lamprecht --- diff --git a/Makefile b/Makefile index 9c689b2..a74c8f1 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,11 @@ +include /usr/share/dpkg/pkg-info.mk +include /usr/share/dpkg/architecture.mk + +PACKAHE=libxdgmime + +DEB = libxdgmime-perl_${DEB_VERSION_UPSTREAM_REVISION}_${DEB_BUILD_ARCH}.deb + OPKGNAME=Xdgmime -DEB = libxdgmime-perl_0.01-3_amd64.deb ${DEB}: ${OPKGNAME}/Xdgmime.xs -rm -rf build