mirror of
https://git.proxmox.com/git/pve-kernel-meta
synced 2025-04-28 14:57:06 +00:00
buildsys: add dsc target
mostly for consistency with the other packages, as this is a really trivial one, so not really benefiting from dsc/sbuild handling. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
33827b2672
commit
acbf2cae97
8
Makefile
8
Makefile
@ -9,11 +9,13 @@ KERNEL_DEB=pve-kernel-$(KERNEL_VER)_$(DEB_VERSION)_all.deb
|
||||
HEADERS_DEB=pve-headers-$(KERNEL_VER)_$(DEB_VERSION)_all.deb
|
||||
|
||||
BUILD_DIR=pve-kernel-$(KERNEL_VER)_$(DEB_VERSION)
|
||||
DSC=pve-kernel-$(KERNEL_VER)_$(DEB_VERSION).dsc
|
||||
|
||||
DEBS=$(KERNEL_DEB) $(HEADERS_DEB)
|
||||
|
||||
.PHONY: deb
|
||||
.PHONY: deb dsc
|
||||
deb: $(DEBS)
|
||||
dsc: $(DSC)
|
||||
|
||||
$(BUILD_DIR): debian
|
||||
rm -rf $@ $@.tmp
|
||||
@ -28,6 +30,10 @@ $(KERNEL_DEB): $(BUILD_DIR)
|
||||
cd $(BUILD_DIR); dpkg-buildpackage -b -uc -us
|
||||
lintian $(DEBS)
|
||||
|
||||
$(DSC): $(BUILD_DIR)
|
||||
cd $(BUILD_DIR); dpkg-buildpackage -S -uc -us
|
||||
lintian $(DSC)
|
||||
|
||||
.PHONY: upload
|
||||
upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
|
||||
upload: $(DEBS)
|
||||
|
Loading…
Reference in New Issue
Block a user