From 6beb0ffa6bbd93d9436a2e42e99c48b9f1076ff0 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Wed, 17 May 2023 15:57:02 +0200 Subject: [PATCH] buildsys: add missing deb targets Signed-off-by: Wolfgang Bumiller --- pmg-rs/Makefile | 6 ++++++ pve-rs/Makefile | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/pmg-rs/Makefile b/pmg-rs/Makefile index 6d14e0e..9c76520 100644 --- a/pmg-rs/Makefile +++ b/pmg-rs/Makefile @@ -81,6 +81,12 @@ $(BUILDDIR): src debian common/src Cargo.toml Makefile .cargo/config cp -a -t $(BUILDDIR).tmp/common common/src mv $(BUILDDIR).tmp $(BUILDDIR) +.PHONY: deb +deb: $(DEBS) +$(DEBS): $(BUILDDIR) + cd $(BUILDDIR); PATH="/usr/local/bin:/usr/bin" dpkg-buildpackage -b -us -uc + lintian $(DEBS) + .PHONY: dsc dsc: $(DSC) $(DSC): $(BUILDDIR) diff --git a/pve-rs/Makefile b/pve-rs/Makefile index 16c3907..741cac5 100644 --- a/pve-rs/Makefile +++ b/pve-rs/Makefile @@ -86,6 +86,12 @@ $(BUILDDIR): src debian test common/src Cargo.toml Makefile .cargo/config cp -a -t $(BUILDDIR).tmp/common common/src mv $(BUILDDIR).tmp $(BUILDDIR) +.PHONY: deb +deb: $(DEBS) +$(DEBS): $(BUILDDIR) + cd $(BUILDDIR); PATH="/usr/local/bin:/usr/bin" dpkg-buildpackage -b -us -uc + lintian $(DEBS) + .PHONY: dsc dsc: $(DSC) $(DSC): $(BUILDDIR)