From a7881f0ab69ae85d4af1d7094ae5fcbb1fc250ee Mon Sep 17 00:00:00 2001 From: default Date: Thu, 1 Jun 2023 17:18:36 +0200 Subject: [PATCH] Added an 'uninstall' Makefile target. --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index ae3b231..01dab0d 100644 --- a/Makefile +++ b/Makefile @@ -27,6 +27,12 @@ install: mkdir -p -m 755 $(PREFIX_MAN)/man8 install -m 644 doc/snac.8 $(PREFIX_MAN)/man8/snac.8 +uninstall: + rm $(PREFIX)/bin/snac + rm $(PREFIX_MAN)/man1/snac.1 + rm $(PREFIX_MAN)/man5/snac.5 + rm $(PREFIX_MAN)/man8/snac.8 + activitypub.o: activitypub.c xs.h xs_json.h xs_curl.h xs_mime.h \ xs_openssl.h xs_regex.h xs_time.h xs_set.h snac.h data.o: data.c xs.h xs_io.h xs_json.h xs_openssl.h xs_glob.h xs_set.h \