Mercurial > hg > Applications > virsh-wrapper
changeset 31:ea7578513baa
delete vagrant group in Makefile
author | taiki |
---|---|
date | Tue, 21 Oct 2014 17:54:43 +0900 |
parents | 2888c7ec9013 |
children | 4bd7d676e608 |
files | Makefile |
diffstat | 1 files changed, 1 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Tue Sep 02 08:10:27 2014 -1000 +++ b/Makefile Tue Oct 21 17:54:43 2014 +0900 @@ -1,33 +1,22 @@ TARGET = ie-virsh CFLAGS = -Wall -O2 -g -TARGET2 = ie-vagrant INSTALL_DIR = /usr/local/bin -all: $(TARGET) $(TARGET2) +all: $(TARGET) $(TARGET): $(TARGET).c $(CC) $(CFLAGS) $(TARGET).c -o $(TARGET) sudo chown root $(TARGET) sudo chmod 4711 $(TARGET) -$(TARGET2): $(TARGET2).c - $(CC) $(CFLAGS) $(TARGET2).c -o $(TARGET2) - sudo chown root $(TARGET2) - sudo chmod 4711 $(TARGET2) - install: $(TARGET) $(TARGET2) newvm.py install ie-virsh $(INSTALL_DIR) - install ie-vagrant $(INSTALL_DIR) install newvm.py $(INSTALL_DIR) - install vagrant_newvm.py $(INSTALL_DIR) - install change_vagrantfile.py $(INSTALL_DIR) chmod 4711 $(INSTALL_DIR)/ie-virsh chmod 4711 $(INSTALL_DIR)/ie-vagrant chmod 755 $(INSTALL_DIR)/newvm.py - chmod 755 $(INSTALL_DIR)/change_vagrantfile.py - chmod 755 $(INSTALL_DIR)/vagrant_newvm.py clean: rm -f $(TARGET) $(TARGET2) *.o