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
450 B
Makefile
16 lines
450 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)"/tdrop
|
|
install -D -m 644 tdrop.1 "$(DESTDIR)$(MANDIR)"/man1/tdrop.1
|
|
install -D -m 644 LICENSE "$(DESTDIR)$(LICENSEDIR)"/tdrop/LICENSE
|
|
|
|
uninstall:
|
|
rm -f "$(DESTDIR)$(BINDIR)"/tdrop
|
|
rm -f "$(DESTDIR)$(MANDIR)"/man1/tdrop.1
|
|
rm -rf "$(DESTDIR)$(LICENSEDIR)/tdrop"
|