build: use 3.0 source format
instead of manually including and calling quilt. resulting binary debs are identical. Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
8fefb8827a
commit
8e326f3032
8
debian/rules
vendored
8
debian/rules
vendored
@ -20,10 +20,6 @@ ARCH ?= $(shell dpkg-architecture -qDEB_HOST_GNU_CPU)
|
|||||||
PACKAGE=pve-qemu-kvm
|
PACKAGE=pve-qemu-kvm
|
||||||
destdir := $(CURDIR)/debian/$(PACKAGE)
|
destdir := $(CURDIR)/debian/$(PACKAGE)
|
||||||
|
|
||||||
ifneq "$(wildcard /usr/share/quilt/quilt.make)" ""
|
|
||||||
include /usr/share/quilt/quilt.make
|
|
||||||
endif
|
|
||||||
|
|
||||||
CFLAGS = -Wall
|
CFLAGS = -Wall
|
||||||
|
|
||||||
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
||||||
@ -48,7 +44,7 @@ config.status: configure
|
|||||||
--enable-virtfs --disable-libnfs \
|
--enable-virtfs --disable-libnfs \
|
||||||
--disable-guest-agent --disable-guest-agent-msi
|
--disable-guest-agent --disable-guest-agent-msi
|
||||||
|
|
||||||
build: patch build-stamp
|
build: build-stamp
|
||||||
|
|
||||||
build-stamp: config.status
|
build-stamp: config.status
|
||||||
dh_testdir
|
dh_testdir
|
||||||
@ -60,7 +56,7 @@ build-stamp: config.status
|
|||||||
|
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
clean: unpatch
|
clean:
|
||||||
dh_testdir
|
dh_testdir
|
||||||
dh_testroot
|
dh_testroot
|
||||||
rm -f build-stamp
|
rm -f build-stamp
|
||||||
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
3.0 (quilt)
|
Loading…
Reference in New Issue
Block a user