aboutsummaryrefslogtreecommitdiff
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
parent908a47041241f3bd30b2418cddfb60a4b8842098 (diff)
Set .deb version in Makefile target
-rw-r--r--Makefile1
-rw-r--r--etc/debian/control1
2 files changed, 1 insertions, 1 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"
diff --git a/etc/debian/control b/etc/debian/control
index 44785a3..a29ec92 100644
--- a/etc/debian/control
+++ b/etc/debian/control
@@ -1,5 +1,4 @@
Package: bashtard
-Version: 1.0
Architecture: all
Maintainer: p.spek@tyil.nl
Description: Configuration Management System in Bash