5
0
mirror of git://git.proxmox.com/git/novnc-pve.git synced 2024-12-22 17:34:20 +03:00

buildsys: fix source format and building dsc

also drop the (since dh compat 10) implied --with quilt for that
source format.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-05-06 17:13:01 +02:00
parent 85269ac9fe
commit d87f9815e2
3 changed files with 7 additions and 3 deletions

View File

@ -4,6 +4,7 @@ PACKAGE=novnc-pve
SRCDIR=novnc
BUILDDIR=$(SRCDIR).tmp
ORIG_SRC_TAR=$(PACKAGE)_$(DEB_VERSION_UPSTREAM).orig.tar.gz
GITVERSION:=$(shell git rev-parse HEAD)
@ -26,9 +27,12 @@ $(DEB): $(BUILDDIR)
lintian $(DEB)
@echo $(DEB)
$(ORIG_SRC_TAR): $(BUILDDIR)
tar czf $(ORIG_SRC_TAR) -C $(BUILDDIR) .
.PHONY: dsc
dsc: $(DSC)
$(DSC): $(BUILDDIR)
$(DSC): $(ORIG_SRC_TAR) $(BUILDDIR)
cd $(BUILDDIR); dpkg-buildpackage -S -uc -us -d
lintian $(DSC)

2
debian/rules vendored
View File

@ -8,7 +8,7 @@ include /usr/share/dpkg/pkg-info.mk
export DEB_BUILD_HARDENING=1
%:
dh ${@} --with quilt
dh ${@}
override_dh_auto_build:
esbuild --bundle app/ui.js > app.js

View File

@ -1 +1 @@
1.0
3.0 (quilt)