summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-06-01 17:18:36 +0200
committerdefault <nobody@localhost>2023-06-01 17:18:36 +0200
commita7881f0ab69ae85d4af1d7094ae5fcbb1fc250ee (patch)
tree24ba98017be1882bad9b8ce8a759e527c06c04d6 /Makefile
parente66b3ff8daa86753855e536a3b769f01d66a92bf (diff)
Added an 'uninstall' Makefile target.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
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 \