]> git.proxmox.com Git - pve-common.git/blobdiff - Makefile
buildsys: add sbuild target for convenience
[pve-common.git] / Makefile
index aebb5af02760a1736102bc2567127f470f488b1a..dc67e4c4433a9fb31ecf77fd8a72531de33c4f51 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,6 @@ BUILDDIR ?= ${PACKAGE}-${DEB_VERSION_UPSTREAM}
 
 DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_${ARCH}.deb
 DSC=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}.dsc
-TARGZ=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}.tar.gz
 
 all:
        ${MAKE} -C src
@@ -30,11 +29,14 @@ ${DEB}: ${BUILDDIR}
        lintian ${DEB}
 
 .PHONY: dsc
-dsc ${TARGZ}: ${DSC}
+dsc: ${DSC}
 ${DSC}: ${BUILDDIR}
-       cd ${BUILDDIR}; dpkg-buildpackage -S -us -uc -d -nc
+       cd ${BUILDDIR}; dpkg-buildpackage -S -us -uc -d
        lintian ${DSC}
 
+sbuild: $(DSC)
+       sbuild $(DSC)
+
 .PHONY: clean distclean
 distclean: clean
 clean:
@@ -50,4 +52,4 @@ install:
 
 .PHONY: upload
 upload: ${DEB}
-       tar cf - ${DEB}|ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg --dist buster
+       tar cf - ${DEB}|ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg --dist bullseye