Added an 'uninstall' Makefile target.

This commit is contained in:
default 2023-06-01 17:18:36 +02:00
parent e66b3ff8da
commit a7881f0ab6

View File

@ -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 \