5
0
mirror of git://git.proxmox.com/git/vncterm.git synced 2024-12-22 21:33:49 +03:00

build: fix -dbgsym generation

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>
This commit is contained in:
Fabian Grünbichler 2021-06-22 15:21:09 +02:00
parent bc53e4d9f3
commit 29f7a2b09c

View File

@ -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: