echo "git clone git://git.proxmox.com/git/pve-manager.git\\ngit checkout ${GITVERSION}" > dest/debian/SOURCE
echo "REPOID_GENERATED=${REPOID}" > dest/debian/rules.env
cd dest; dpkg-buildpackage -b -us -uc
- # supress lintian error: statically-linked-binary usr/bin/pvemailforward
- lintian -X binaries ${DEB}
+ lintian ${DEB}
.PHONY: upload
upload: ${DEB} check
# check if working directory is clean
git diff --exit-code --stat && git diff --exit-code --stat --staged
- tar cf - ${DEB} | ssh -X repoman@repo.proxmox.com upload --product pve --dist buster
+ tar cf - ${DEB} | ssh -X repoman@repo.proxmox.com upload --product pve --dist bullseye
.PHONY: install
install: vzdump-hook-script.pl
install -d ${DESTDIR}/var/lib/vz/images
install -d ${DESTDIR}/var/lib/vz/template/cache
install -d ${DESTDIR}/var/lib/vz/template/iso
- install -d ${DESTDIR}/var/lib/vz/template/qemu
install -m 0644 vzdump-hook-script.pl ${DOCDIR}/examples/vzdump-hook-script.pl
install -m 0644 spice-example-sh ${DOCDIR}/examples/spice-example-sh
set -e && for i in ${SUBDIRS}; do ${MAKE} -C $$i $@; done