aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2023-03-10 09:14:54 +0100
committerPatrick Spek <p.spek@tyil.nl>2023-03-10 09:14:54 +0100
commitd3c2357a1bb3b53514cf56ab112db5b4c7da3137 (patch)
treed8016bc5c718416158d37f2e48f15495980a4370 /Makefile
parent908a47041241f3bd30b2418cddfb60a4b8842098 (diff)
Set .deb version in Makefile target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d63e3d7..d84fcc4 100644
--- a/Makefile
+++ b/Makefile
@@ -58,6 +58,7 @@ pkg-debian:
# Copy Debian's control file
mkdir -pv -- "$(PKG_ROOT)/DEBIAN"
cp -v -- ./etc/debian/control "$(PKG_ROOT)/DEBIAN/control"
+ printf "Version: %s\n" "$(PKG_VERSION)" >> "$(PKG_ROOT)/DEBIAN/control"
# Generate the .deb file
mkdir -pv -- "dist"