buildsys: set pkg-buildcfg version automatically
the 'build' target now fixates the pbs-buildcfg version to $(DEB_VERSION_UPSTREAM) Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
e3619d4101
commit
f9c0a94140
3
Makefile
3
Makefile
@ -101,6 +101,9 @@ doc:
|
|||||||
# always re-create this dir
|
# always re-create this dir
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
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
|
rm -rf build
|
||||||
mkdir build
|
mkdir build
|
||||||
cp -a debian \
|
cp -a debian \
|
||||||
|
Loading…
Reference in New Issue
Block a user