Update Makefile
This commit is contained in:
parent
de2d8c8016
commit
93b2dcd399
12
Makefile
12
Makefile
|
@ -1,22 +1,22 @@
|
||||||
DESTDIR = /usr/local/bin
|
DESTDIR = /usr/local/bin
|
||||||
INSTALL_PATH = $(DESTDIR)/launcher.sh
|
INSTALL_PATH = $(DESTDIR)/clauncher
|
||||||
|
|
||||||
all: install
|
all: install
|
||||||
|
|
||||||
install: $(INSTALL_PATH)
|
install: $(INSTALL_PATH)
|
||||||
|
|
||||||
$(INSTALL_PATH): launcher.sh
|
$(INSTALL_PATH): clauncher
|
||||||
@echo "Installing launcher.sh to $(DESTDIR)"
|
@echo "Installing clauncher to $(DESTDIR)"
|
||||||
@install -m 755 $< $(DESTDIR)
|
@install -m 755 $< $(DESTDIR)
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
@echo "Removing launcher.sh from $(DESTDIR)"
|
@echo "Removing clauncher from $(DESTDIR)"
|
||||||
@rm -f $(INSTALL_PATH)
|
@rm -f $(INSTALL_PATH)
|
||||||
|
|
||||||
help:
|
help:
|
||||||
@echo "Available targets:"
|
@echo "Available targets:"
|
||||||
@echo " make install - Install launcher.sh to $(DESTDIR)"
|
@echo " make install - Install clauncher to $(DESTDIR)"
|
||||||
@echo " make uninstall - Remove launcher.sh from $(DESTDIR)"
|
@echo " make uninstall - Remove clauncher from $(DESTDIR)"
|
||||||
@echo " make help - Show this help message"
|
@echo " make help - Show this help message"
|
||||||
|
|
||||||
.PHONY: all install uninstall
|
.PHONY: all install uninstall
|
||||||
|
|
Loading…
Reference in New Issue