mirror of
git://git.proxmox.com/git/novnc-pve.git
synced 2025-01-03 05:17:56 +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
|
SRCDIR=novnc
|
||||||
BUILDDIR=$(SRCDIR).tmp
|
BUILDDIR=$(SRCDIR).tmp
|
||||||
|
ORIG_SRC_TAR=$(PACKAGE)_$(DEB_VERSION_UPSTREAM).orig.tar.gz
|
||||||
|
|
||||||
GITVERSION:=$(shell git rev-parse HEAD)
|
GITVERSION:=$(shell git rev-parse HEAD)
|
||||||
|
|
||||||
@ -26,9 +27,12 @@ $(DEB): $(BUILDDIR)
|
|||||||
lintian $(DEB)
|
lintian $(DEB)
|
||||||
@echo $(DEB)
|
@echo $(DEB)
|
||||||
|
|
||||||
|
$(ORIG_SRC_TAR): $(BUILDDIR)
|
||||||
|
tar czf $(ORIG_SRC_TAR) -C $(BUILDDIR) .
|
||||||
|
|
||||||
.PHONY: dsc
|
.PHONY: dsc
|
||||||
dsc: $(DSC)
|
dsc: $(DSC)
|
||||||
$(DSC): $(BUILDDIR)
|
$(DSC): $(ORIG_SRC_TAR) $(BUILDDIR)
|
||||||
cd $(BUILDDIR); dpkg-buildpackage -S -uc -us -d
|
cd $(BUILDDIR); dpkg-buildpackage -S -uc -us -d
|
||||||
lintian $(DSC)
|
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
|
export DEB_BUILD_HARDENING=1
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh ${@} --with quilt
|
dh ${@}
|
||||||
|
|
||||||
override_dh_auto_build:
|
override_dh_auto_build:
|
||||||
esbuild --bundle app/ui.js > app.js
|
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