]> git.proxmox.com Git - pve-kernel.git/blobdiff - Makefile
update to Proxmox-6.2.16-2 based on Ubuntu-6.2.0-25.25
[pve-kernel.git] / Makefile
index 89a6a7532aae804aa24ec56d96f7f80ad7d2c3d1..09d5f3c1f657aebd18b1a96f8fe3b3207284cac3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,9 @@
+include /usr/share/dpkg/pkg-info.mk
+
 # also bump pve-kernel-meta if either of MAJ.MIN, PATCHLEVEL or KREL change
 KERNEL_MAJ=6
 KERNEL_MIN=2
-KERNEL_PATCHLEVEL=11
+KERNEL_PATCHLEVEL=16
 # increment KREL if the ABI changes (abicheck target in debian/rules)
 # rebuild packages with new KREL and run 'make abiupdate'
 KREL=2
@@ -63,10 +65,12 @@ $(DST_DEB): $(BUILD_DIR).prepared
        #lintian $(HDR_DEB)
        lintian $(LINUX_TOOLS_DEB)
 
-dsc: $(DSC)
+dsc:
+       $(MAKE) $(DSC)
+       lintian $(DSC)
+
 $(DSC): $(BUILD_DIR).prepared
        cd $(BUILD_DIR); dpkg-buildpackage -S -uc -us -d
-       lintian $(DSC)
 
 sbuild: $(DSC)
        sbuild $(DSC)
@@ -116,8 +120,9 @@ $(ZFSDIR).prepared: $(ZFSONLINUX_SUBMODULE)
        touch $(ZFSDIR).prepared
 
 .PHONY: upload
+upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
 upload: $(DEBS)
-       tar cf - $(DEBS)|ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg,pbs --dist bullseye --arch $(ARCH)
+       tar cf - $(DEBS)|ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg,pbs --dist $(UPLOAD_DIST) --arch $(ARCH)
 
 .PHONY: distclean
 distclean: clean