5
0
mirror of git://git.proxmox.com/git/spiceterm.git synced 2024-12-22 13:34:06 +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:18:03 +02:00
parent 11a71a1847
commit 2df988a10d
2 changed files with 3 additions and 2 deletions

View File

@ -9,6 +9,7 @@ BUILDDIR ?= ${PACKAGE}-${DEB_VERSION_UPSTREAM}
export VERSION=$(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
${BUILDDIR}: src/ debian/
@ -34,7 +35,7 @@ dinstall: ${DEB}
.PHONY: upload
upload: ${DEB}
tar cf - ${DEB} | ssh repoman@repo.proxmox.com -- upload --product pve --dist bullseye --arch ${ARCH}
tar cf - ${DEB} ${DBG_DEB} | ssh repoman@repo.proxmox.com -- upload --product pve --dist bullseye --arch ${ARCH}
.PHONY: distclean clean
distclean: clean

View File

@ -34,7 +34,7 @@ install: spiceterm spiceterm.1
mkdir -p ${DESTDIR}/usr/share/man/man1
install -m 0644 spiceterm.1 ${DESTDIR}/usr/share/man/man1
mkdir -p ${DESTDIR}/usr/bin
install -s -m 0755 spiceterm ${DESTDIR}/usr/bin
install -m 0755 spiceterm ${DESTDIR}/usr/bin
.PHONY: test
test: spiceterm