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:
parent
85269ac9fe
commit
d87f9815e2
6
Makefile
6
Makefile
@ -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
2
debian/rules
vendored
@ -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
|
||||
|
2
debian/source/format
vendored
2
debian/source/format
vendored
@ -1 +1 @@
|
||||
1.0
|
||||
3.0 (quilt)
|
||||
|
Loading…
Reference in New Issue
Block a user