20 lines
569 B
Makefile
20 lines
569 B
Makefile
|
SRC = ./
|
||
|
INSTALLDIR = /usr/bin
|
||
|
SCRIPT = getvods.sh
|
||
|
FILENAME = getvods
|
||
|
|
||
|
all:
|
||
|
$(info modify the Makefile with the directory you wish to place the script in)
|
||
|
$(info default is $(INSTALLDIR))
|
||
|
$(info place your client_secret and client_id in ~/.config/getvods)
|
||
|
$(info run make install as root to install the script at $(INSTALLDIR)/$(FILENAME) when you're ready)
|
||
|
$(info run make uninstall as root to remove script)
|
||
|
|
||
|
install:
|
||
|
$(info installing script)
|
||
|
cp $(SRC)$(SCRIPT) $(INSTALLDIR)/$(FILENAME)
|
||
|
|
||
|
uninstall:
|
||
|
$(info uninstalling script)
|
||
|
rm $(INSTALLDIR)/$(FILENAME)
|