5
0
mirror of git://git.proxmox.com/git/pve-ha-manager.git synced 2025-01-03 05:17:57 +03:00

buildsys: improve DSC target & add sbuild convenience target

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-05-24 19:25:47 +02:00
parent 1b91242ae9
commit cfe9011673

View File

@ -35,15 +35,21 @@ $(DEB) $(DBG_DEB): $(BUILDDIR)
lintian $(SIMDEB)
.PHONY: dsc
dsc: $(DSC)
dsc:
$(MAKE) clean
$(MAKE) $(DSC)
lintian $(DSC)
$(DSC): $(BUILDDIR)
cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d
lintian $(DSC)
sbuild: $(DSC)
sbuild $(DSC)
.PHONY: clean
clean:
make -C src clean
rm -rf $(BUILDDIR) *.tar.gz *.dsc *.deb $(PACKAGE)-*.tar.gz *.changes *.buildinfo
rm -rf $(PACKAGE)-[0-9]*/ *.dsc *.deb $(PACKAGE)*.tar* *.changes *.build *.buildinfo
.PHONY: distclean
distclean: clean