]> git.proxmox.com Git - pve-ha-manager.git/commitdiff
buildsys: track and upload debug package
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 20 Jan 2022 17:08:27 +0000 (18:08 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 20 Jan 2022 17:08:27 +0000 (18:08 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 9aa0a4bde66ed88e5abab871a8875ec3e2918e1d..754ee26b8393ed5ed5bad5ba94fb0a6de02f9e12 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,8 @@ GITVERSION:=$(shell git rev-parse HEAD)
 BUILDDIR ?= ${PACKAGE}-${DEB_VERSION_UPSTREAM}
 
 DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_${DEB_BUILD_ARCH}.deb
+DBG_DEB=${PACKAGE}-dbgsym_${DEB_VERSION_UPSTREAM_REVISION}_${DEB_BUILD_ARCH}.deb
+
 DSC=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}.dsc
 SIMDEB=${SIMPACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_all.deb
 SIMDSC=${SIMPACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}.dsc
@@ -25,7 +27,7 @@ dinstall: $(DEB) $(SIMDEB)
 
 .PHONY: deb
 deb: ${DEB} ${SIMDEB}
-${DEB}: ${BUILDDIR}
+${DEB} ${DBG_DEB}: ${BUILDDIR}
        cd ${BUILDDIR}; dpkg-buildpackage -b -us -uc
        lintian ${DEB}
        lintian ${SIMDEB}
@@ -47,5 +49,5 @@ distclean: clean
 
 .PHONY: upload
 upload: ${DEB} ${SIMDEB}
-       tar cf - ${DEB} ${SIMDEB}|ssh repoman@repo.proxmox.com -- upload --product pve --dist bullseye --arch ${ARCH}
+       tar cf - ${DEB} ${DBG_DEB} ${SIMDEB}|ssh repoman@repo.proxmox.com -- upload --product pve --dist bullseye --arch ${DEB_BUILD_ARCH}