getvods/Makefile

20 lines
569 B
Makefile
Raw Permalink Normal View History

2023-06-03 01:33:23 -03:00
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)