From 26ef929e13201bb2152f9f62edea1513008163f2 Mon Sep 17 00:00:00 2001 From: noctuid Date: Wed, 11 Nov 2015 16:38:28 -0500 Subject: [PATCH] Fix rm in Makefile and install LICENSE --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fd1c191..bb9f658 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,15 @@ 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 - rf -rf "$(DESTDIR)$(MANDIR)" + rm -rf "$(DESTDIR)$(MANDIR)" + rm -rf "$(DESTDIR)$(LICENSEDIR)/tdrop"