From c7b31ec807999592428b24b1452d44eda4b48ac2 Mon Sep 17 00:00:00 2001 From: Loup Vaillant Date: Wed, 27 Sep 2017 20:15:47 +0200 Subject: [PATCH] Add uninstall target. Fixes #46 --- makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index c325e54..346a5e9 100644 --- a/makefile +++ b/makefile @@ -8,7 +8,7 @@ MAN_DIR=$(DESTDIR)/$(PREFIX)/share/man/man3 .PHONY: all library static-library dynamic-library \ install install-doc \ check test speed \ - clean + clean uninstall all : library install: library src/monocypher.h install-doc @@ -43,6 +43,13 @@ clean: rm -rf lib/ rm -f *.out +uninstall: + rm $(DESTDIR)/$(PREFIX)/lib/libmonocypher.a + rm $(DESTDIR)/$(PREFIX)/lib/libmonocypher.so + rm $(DESTDIR)/$(PREFIX)/include/monocypher.h + rm $(PKGCONFIG)/monocypher.pc + rm $(MAN_DIR)/*.3monocypher + check: test test: test.out ./test.out -- 2.47.3