[hackers] [lchat][PATCH] Makefile: provides an uninstall target

From: shirenn <shirenn_AT_crans.org>
Date: Thu, 28 Jan 2021 16:55:58 +0100

Signed-off-by: shirenn <shirenn_AT_crans.org>
---
 Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index ea45200..675ac76 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -1,6 +1,6 @@
 include config.mk
 
-.PHONY: all install filter clean test
+.PHONY: all install uninstall filter clean test
 
 all: lchat
 clean:
_AT_@ -10,6 +10,9 @@ install: lchat
    cp lchat ${BINDIR}
    cp lchat.1 ${MAN1DIR}
 
+uninstall:
+   rm ${BINDIR}/lchat ${MAN1DIR}/lchat.1
+
 test: sl_test
    ./sl_test
 
-- 
2.30.0



Received on Thu Jan 28 2021 - 16:55:58 CET

This archive was generated by hypermail 2.3.0 : Thu Jan 28 2021 - 17:00:40 CET