Mercurial > hg > Members > anatofuz > ie-virsh
view Makefile @ 66:a1313d7e6374
fix vol-del arg
author | AnaTofuZ <anatofuz@gmail.com> |
---|---|
date | Tue, 08 Dec 2020 17:22:46 +0900 |
parents | 7b658cee53be |
children |
line wrap: on
line source
.PHONY: build release fmt debug-chown install INSTALL_DIR = /usr/local/bin build: cargo build release: cargo build --release strip ./target/release/ie-virsh fmt: cargo fmt cargo clippy debug-chown:build sudo chown root ./target/debug/ie-virsh sudo chmod 4711 ./target/debug/ie-virsh install:release sudo install ./target/release/ie-virsh $(INSTALL_DIR) sudo install template.xml /etc/libvirt/qemu sudo chown root $(INSTALL_DIR)/ie-virsh sudo chmod 4711 $(INSTALL_DIR)/ie-virsh sudo chmod 644 /etc/libvirt/qemu/template.xml