Add make dinstall target

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2020-01-21 11:28:15 +01:00
parent ccc6924e6a
commit 93cf522dd8

View File

@ -11,6 +11,16 @@ deb: $(foreach c,$(CRATES), $c-deb)
echo $(foreach c,$(CRATES), $c-deb)
lintian build/*.deb
.PHONY: dinstall
dinstall:
$(MAKE) proxmox-tools-deb proxmox-sortable-macro-deb
sudo dpkg -i build/librust-*.deb
$(MAKE) proxmox-api-macro-deb proxmox-sys-deb
sudo dpkg -i build/librust-*.deb
$(MAKE) proxmox-deb
sudo dpkg -i build/librust-*.deb
sudo -k
%-deb:
./build.sh $*
touch $@