getvods/Makefile

20 lines
564 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)
2023-06-06 00:05:32 -03:00
$(info default is /usr/bin)
2023-06-03 01:33:23 -03:00
$(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)