aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-09-30 13:33:46 +0200
committerMattias Andrée <maandree@kth.se>2016-09-30 13:33:46 +0200
commit5279ac8e6d90731a829eeb5cd5aedc9d162781c5 (patch)
tree6c8af53cda1de89e01f13405e481aaab74e24ea1
parentAdd manpage (diff)
downloadpdeath-5279ac8e6d90731a829eeb5cd5aedc9d162781c5.tar.gz
pdeath-5279ac8e6d90731a829eeb5cd5aedc9d162781c5.tar.bz2
pdeath-5279ac8e6d90731a829eeb5cd5aedc9d162781c5.tar.xz
Makefile: fix uninstall rule: uninstall license1.0
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 255fc3c..8db7678 100644
--- a/Makefile
+++ b/Makefile
@@ -31,6 +31,8 @@ install: bin/pdeath
uninstall:
-rm -- "$(DESTDIR)$(BINDIR)/$(COMMAND)"
-rm -- "$(DESTDIR)$(MAN1DIR)/$(COMMAND).1"
+ -rm -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)/LICENSE"
+ -rmdir -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)"
clean:
-rm -rf bin