]> git.proxmox.com Git - vncterm.git/commitdiff
build: fix -dbgsym generation
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 22 Jun 2021 13:21:09 +0000 (15:21 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 22 Jun 2021 13:24:20 +0000 (15:24 +0200)
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 <f.gruenbichler@proxmox.com>
Makefile

index 746b81e99ddf8409e130d8903e5e322a8a327247..36993b8e045e87ddab506991ea60f810c70f9178 100644 (file)
--- 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: