mirror of
https://github.com/meskarune/i3lock-fancy.git
synced 2025-12-05 00:30:11 +00:00
17 lines
629 B
Makefile
17 lines
629 B
Makefile
PRGM = i3lock-fancy
|
|
PREFIX ?= /usr
|
|
SHRDIR ?= $(PREFIX)/share
|
|
BINDIR ?= $(PREFIX)/bin
|
|
|
|
install:
|
|
@install -Dm755 i3lock-fancy -t $(DESTDIR)$(BINDIR)
|
|
@install -Dm644 icons/* -t $(DESTDIR)$(SHRDIR)/$(PRGM)/icons
|
|
@install -Dm644 doc/i3lock-fancy.1 -t $(DESTDIR)$(SHRDIR)/man/man1
|
|
@install -Dm644 LICENSE -t $(DESTDIR)$(SHRDIR)/licenses/$(PRGM)
|
|
|
|
uninstall:
|
|
@unlink $(DESTDIR)$(BINDIR)/$(PRGM) # Remove binary
|
|
@rm -Rf $(DESTDIR)$(SHRDIR)/$(PRGM) # Remove icons
|
|
@unlink $(DESTDIR)$(SHRDIR)/man/man1/i3lock-fancy.1 # Remove man
|
|
@rm -Rf $(DESTDIR)$(SHRDIR)/licenses/$(PRGM) # Remove license
|