From d4f0f15341dd78f23837dc7a1c93609ce21ff24a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Ortega=20Froysa?= Date: Sat, 25 May 2024 18:01:37 +0200 Subject: [PATCH] Add uninstall target for Makefile. --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b972073..fe5b216 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ endif pacundo.1.gz: pacundo.1 gzip -c $^ > $@ -.PHONY: clean doc install +.PHONY: clean doc install uninstall clean: $(RM) pacundo.1.gz @@ -39,3 +39,7 @@ install: pacundo pacundo.1.gz install -m 755 pacundo.pl $(PREFIX)/bin/pacundo install -d $(PREFIX)/share/man/man1 install -m 644 pacundo.1.gz $(PREFIX)/share/man/man1/ + +uninstall: + $(RM) $(PREFIX)/bin/pacundo + $(RM) $(PREFIX)/share/man/man1/pacundo.1.gz