From f1a7d9957d98df60639059ff97d71c47c423906a Mon Sep 17 00:00:00 2001 From: default Date: Tue, 4 Oct 2022 08:53:43 +0200 Subject: [PATCH] Updated Makefile. --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Makefile b/Makefile index 1a3e6a6..0da99d7 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,4 @@ +PREFIX=/usr/local CFLAGS=-g -Wall all: snac @@ -14,6 +15,15 @@ clean: dep: $(CC) -I/usr/local/include -MM *.c > makefile.depend +install: + install -m 755 snac $(PREFIX)/bin/snac + mkdir -p -m 755 $(PREFIX)/man/man1 + install -m 644 doc/snac.1 $(PREFIX)/man/man1/snac.1 + mkdir -p -m 755 $(PREFIX)/man/man5 + install -m 644 doc/snac.5 $(PREFIX)/man/man5/snac.5 + mkdir -p -m 755 $(PREFIX)/man/man8 + install -m 644 doc/snac.8 $(PREFIX)/man/man8/snac.8 + activitypub.o: activitypub.c xs.h xs_encdec.h xs_json.h xs_curl.h \ xs_mime.h xs_openssl.h xs_regex.h xs_time.h snac.h data.o: data.c xs.h xs_io.h xs_json.h xs_openssl.h xs_glob.h snac.h