mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-22 05:15: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=/usr/local
|
||||||
|
PREFIX_MAN=$(PREFIX)/man
|
||||||
CFLAGS=-g -Wall
|
CFLAGS=-g -Wall
|
||||||
|
|
||||||
all: snac
|
all: snac
|
||||||
|
@ -17,12 +18,12 @@ dep:
|
||||||
|
|
||||||
install:
|
install:
|
||||||
install -m 755 snac $(PREFIX)/bin/snac
|
install -m 755 snac $(PREFIX)/bin/snac
|
||||||
mkdir -p -m 755 $(PREFIX)/man/man1
|
mkdir -p -m 755 $(PREFIX_MAN)/man1
|
||||||
install -m 644 doc/snac.1 $(PREFIX)/man/man1/snac.1
|
install -m 644 doc/snac.1 $(PREFIX_MAN)/man1/snac.1
|
||||||
mkdir -p -m 755 $(PREFIX)/man/man5
|
mkdir -p -m 755 $(PREFIX_MAN)/man5
|
||||||
install -m 644 doc/snac.5 $(PREFIX)/man/man5/snac.5
|
install -m 644 doc/snac.5 $(PREFIX_MAN)/man5/snac.5
|
||||||
mkdir -p -m 755 $(PREFIX)/man/man8
|
mkdir -p -m 755 $(PREFIX_MAN)/man8
|
||||||
install -m 644 doc/snac.8 $(PREFIX)/man/man8/snac.8
|
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 \
|
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
|
xs_mime.h xs_openssl.h xs_regex.h xs_time.h snac.h
|
||||||
|
|
Loading…
Reference in a new issue