From 29f7a2b09cb1910a01ace4e7a6a310258cd92b33 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fabian=20Gr=C3=BCnbichler?= Date: Tue, 22 Jun 2021 15:21:09 +0200 Subject: [PATCH] build: fix -dbgsym generation MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit we don't want to strip as part of installing, debhelper does that for us while actually collecting the stripped debug symbols.. Signed-off-by: Fabian Grünbichler --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 746b81e..36993b8 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,7 @@ VNCSRC=${VNCREL}.tar.gz VNCLIB=${VNCDIR}/libvncserver.a DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_${DEB_BUILD_ARCH}.deb +DBG_DEB=${PACKAGE}-dbgysm_${DEB_VERSION_UPSTREAM_REVISION}_${DEB_BUILD_ARCH}.deb CPPFLAGS += -O2 -g -Wall -Wno-deprecated-declarations -D_GNU_SOURCE -I $(VNCDIR) @@ -49,7 +50,7 @@ install: vncterm vncterm.1 font.data mkdir -p ${DESTDIR}/usr/share/man/man1 install -m 0644 vncterm.1 ${DESTDIR}/usr/share/man/man1 mkdir -p ${DESTDIR}/usr/bin - install -s -m 0755 vncterm ${DESTDIR}/usr/bin + install -m 0755 vncterm ${DESTDIR}/usr/bin .PHONY: dinstall dinstall: ${DEB} @@ -70,7 +71,7 @@ ${DEB}: .PHONY: upload upload: ${DEB} - tar cf - ${DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pve --dist bullseye + tar cf - ${DEB} ${DBG_DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pve --dist bullseye .PHONY: clean clean: -- 2.39.2