Makefile: build target - do not fail if control file does not exist

This can happen if a previous build failed ...
This commit is contained in:
Dietmar Maurer 2020-08-11 10:47:23 +02:00
parent 882c082369
commit 5d95558bae
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ doc:
.PHONY: build .PHONY: build
build: build:
rm -rf build rm -rf build
rm debian/control rm -f 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/-.*//') 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 sed -e '1,/^$$/ ! d' build/debian/control > build/debian/control.src
cat build/debian/control.src build/debian/control.in > build/debian/control cat build/debian/control.src build/debian/control.in > build/debian/control