zathura-pywal

A better version of zathura-pywal that saves settings and features alpha transparency
git clone git://mattcarlson.org/repos/zathura-pywal.git
Log | Files | Refs | README

Makefile (1007B)


      1 PREFIX ?= /usr
      2 
      3 all:
      4 	@echo Run \'make install\' as root to install zathura-pywal.
      5 
      6 install:
      7 	@mkdir -p $(DESTDIR)$(PREFIX)/bin/
      8 	@mkdir -p $(DESTDIR)$(PREFIX)/share/
      9 	@echo Creating $(DESTDIR)$(PREFIX)/share/zathura-pywal/...
     10 	@mkdir -p $(DESTDIR)$(PREFIX)/share/zathura-pywal/
     11 	@echo Copying zathura-pywal to $(DESTDIR)$(PREFIX)/bin/...
     12 	@cp -p zathura-pywal $(DESTDIR)$(PREFIX)/bin/zathura-pywal
     13 	@echo Copying settings to $(DESTDIR)$(PREFIX)/share/zathura-pywal/settings...
     14 	@cp -p settings $(DESTDIR)$(PREFIX)/share/zathura-pywal/settings
     15 	@echo Running chmod 755 on $(DESTDIR)$(PREFIX)/bin/zathura-pywal...
     16 	@chmod 755 $(DESTDIR)$(PREFIX)/bin/zathura-pywal
     17 	@echo Installation successful.
     18 
     19 uninstall:
     20 	@ echo Removing /usr/bin/zathura-pywal...
     21 	@rm -f $(PREFIX)/bin/zathura-pywal
     22 	@ echo Removing /usr/share/zathura-pywal/settings...
     23 	@rm -f $(PREFIX)/share/zathura-pywal/settings
     24 	@ echo Removing /usr/share/zathura-pywal/...
     25 	@rm -rf $(PREFIX)/share/zathura-pywal/
     26 	@echo zathura-pywal uninstalled.