1 include /usr
/share
/dpkg
/default.mk
5 GITVERSION
:=$(shell git rev-parse HEAD
)
7 PVE_DEB
=$(PACKAGE
)_
$(DEB_VERSION_UPSTREAM_REVISION
)_all.deb
8 PVE_HEADERS_DEB
=pve-headers_
$(DEB_VERSION_UPSTREAM_REVISION
)_all.deb
12 DEBS
=$(PVE_DEB
) $(PVE_HEADERS_DEB
)
17 $(PVE_HEADERS_DEB
): $(PVE_DEB
)
20 mkdir
-p
$(BUILD_DIR
)/debian
21 cp
-ar debian
/* $(BUILD_DIR
)/debian
/
22 echo
"git clone git://git.proxmox.com/git/proxmox-ve.git\\ngit checkout $(GITVERSION)" > $(BUILD_DIR
)/debian
/SOURCE
23 cd
$(BUILD_DIR
); dpkg-buildpackage
-b
-uc
-us
28 tar cf
- $(DEBS
)|ssh repoman@repo.proxmox.com
-- upload
--product pve
--dist bullseye
--arch
$(DEB_BUILD_ARCH
)
35 rm -rf
*~
$(BUILD_DIR
) *.deb
*.dsc
*.changes
*.buildinfo