You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
446 B
Makefile
16 lines
446 B
Makefile
PREFIX ?= /usr/local
|
|
BINDIR = $(PREFIX)/bin
|
|
MANDIR = $(PREFIX)/share/man
|
|
LICENSEDIR = $(PREFIX)/share/licenses
|
|
|
|
install:
|
|
# 755 is default
|
|
install -D -m 755 tdrop "$(DESTDIR)$(BINDIR)"
|
|
install -D -m 644 tdrop.groff "$(DESTDIR)$(MANDIR)"/man1/tdrop.1
|
|
install -D -m 644 LICENSE "$(DESTDIR)$($PREFIX)$(LICENSEDIR)"/tdrop/LICENSE
|
|
|
|
uninstall:
|
|
rm -f "$(DESTDIR)$(BINDIR)"/tdrop
|
|
rm -rf "$(DESTDIR)$(MANDIR)"
|
|
rm -rf "$(DESTDIR)$(LICENSEDIR)/tdrop"
|