From f9c0a9414008cacd97b56575f7dbfea6a9ecc1a0 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Tue, 7 Sep 2021 13:40:31 +0200 Subject: [PATCH] buildsys: set pkg-buildcfg version automatically the 'build' target now fixates the pbs-buildcfg version to $(DEB_VERSION_UPSTREAM) Signed-off-by: Wolfgang Bumiller --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 08eccd56..5ace3575 100644 --- a/Makefile +++ b/Makefile @@ -101,6 +101,9 @@ doc: # always re-create this dir .PHONY: build build: + @echo "Setting pkg-buildcfg version to: $(DEB_VERSION_UPSTREAM)" + sed -i -e 's/^version =.*$$/version = "$(DEB_VERSION_UPSTREAM)"/' \ + pbs-buildcfg/Cargo.toml rm -rf build mkdir build cp -a debian \