build: properly regenerate d/control

and commit the latest change

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler
2020-08-04 11:14:40 +02:00
parent 16f0afbfb5
commit db22e6b270
2 changed files with 8 additions and 7 deletions

View File

@ -69,6 +69,7 @@ doc:
.PHONY: build
build:
rm -rf build
rm debian/control
debcargo package --config debian/debcargo.toml --changelog-ready --no-overlay-write-back --directory build proxmox-backup $(shell dpkg-parsechangelog -l debian/changelog -SVersion | sed -e 's/-.*//')
sed -e '1,/^$$/ ! d' build/debian/control > build/debian/control.src
cat build/debian/control.src build/debian/control.in > build/debian/control