1 include /usr
/share
/dpkg
/pkg-info.mk
5 GITVERSION
:=$(shell git rev-parse HEAD
)
6 BUILDDIR ?
= $(PACKAGE
)-$(DEB_VERSION_UPSTREAM
)
8 DEB
=$(PACKAGE
)_
$(DEB_VERSION_UPSTREAM_REVISION
)_all.deb
9 DSC
=$(PACKAGE
)_
$(DEB_VERSION_UPSTREAM_REVISION
).dsc
19 rsync
-a src
/ debian
$(BUILDDIR
)
20 echo
"git clone git://git.proxmox.com/git/pve-container\\ngit checkout $(GITVERSION)" > $(BUILDDIR
)/debian
/SOURCE
25 cd
$(BUILDDIR
); dpkg-buildpackage
-b
-us
-uc
32 cd
$(BUILDDIR
); dpkg-buildpackage
-S
-us
-uc
-d
42 rm -rf
*.deb
$(PACKAGE
)*.
tar.gz
*.changes
*.buildinfo
$(DSC
) $(PACKAGE
)-*/
43 find .
-name
'*~' -exec
rm {} ';'
50 tar cf
- $(DEB
) | ssh
-X repoman@repo.proxmox.com
-- upload
--product pve
--dist bullseye