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 /usr/bin) $(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)