From 5fb3d080ce22cf2849adddb090c8350ead780ce5 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Tue, 23 Jul 2019 21:10:53 +0200 Subject: [PATCH] buildsys: read version from changelog Signed-off-by: Thomas Lamprecht --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- 2.39.5