mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-14 17:45:04 +00:00
New Makefile variable PREFIX_MAN, to install man pages wherever you want.
This commit is contained in:
parent
c3e3db84ed
commit
8aade19c8c
1 changed files with 7 additions and 6 deletions
13
Makefile
13
Makefile
|
@ -1,4 +1,5 @@
|
|||
PREFIX=/usr/local
|
||||
PREFIX_MAN=$(PREFIX)/man
|
||||
CFLAGS=-g -Wall
|
||||
|
||||
all: snac
|
||||
|
@ -17,12 +18,12 @@ dep:
|
|||
|
||||
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
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue