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)