]> git.proxmox.com Git - proxmox-backup.git/blobdiff - Makefile
mark signed manifests as such
[proxmox-backup.git] / Makefile
index 40c1186d76da537765260843fca30952a5469895..bfd440a70ae5d2d2134c632ca10f220629e2be96 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -60,7 +60,7 @@ $(SUBDIRS):
 test:
        #cargo test test_broadcast_future
        #cargo test $(CARGO_BUILD_ARGS)
-       #$(CARGO) test $(tests) $(CARGO_BUILD_ARGS)
+       $(CARGO) test $(tests) $(CARGO_BUILD_ARGS)
 
 doc:
        $(CARGO) doc --no-deps $(CARGO_BUILD_ARGS)
@@ -69,10 +69,12 @@ 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
        rm build/debian/control.in build/debian/control.src
+       cp build/debian/control debian/control
        rm build/Cargo.lock
        find build/debian -name "*.hint" -delete
        $(foreach i,$(SUBDIRS), \