mirror of
https://github.com/moparisthebest/sslh
synced 2024-11-24 18:12:17 -05:00
Makefile: fix install
for Mac OS
This commit is contained in:
parent
728181109c
commit
3bad96865d
9
Makefile
9
Makefile
@ -5,7 +5,7 @@ USELIBCONFIG=1 # Use libconfig? (necessary to use configuration files)
|
|||||||
USELIBWRAP?= # Use libwrap?
|
USELIBWRAP?= # Use libwrap?
|
||||||
USELIBCAP= # Use libcap?
|
USELIBCAP= # Use libcap?
|
||||||
COV_TEST= # Perform test coverage?
|
COV_TEST= # Perform test coverage?
|
||||||
PREFIX=/usr/local
|
PREFIX?=/usr/local
|
||||||
|
|
||||||
MAN=sslh.8.gz # man page name
|
MAN=sslh.8.gz # man page name
|
||||||
|
|
||||||
@ -68,8 +68,10 @@ release:
|
|||||||
|
|
||||||
# generic install: install binary and man page
|
# generic install: install binary and man page
|
||||||
install: sslh $(MAN)
|
install: sslh $(MAN)
|
||||||
install -pD sslh-fork $(DESTDIR)$(PREFIX)/sbin/sslh
|
mkdir -p $(DESTDIR)$(PREFIX)/sbin
|
||||||
install -pD -m 0644 $(MAN) $(DESTDIR)$(PREFIX)/share/man/man8/$(MAN)
|
mkdir -p $(DESTDIR)$(PREFIX)/share/man/man8
|
||||||
|
install -p sslh-fork $(DESTDIR)$(PREFIX)/sbin/sslh
|
||||||
|
install -p -m 0644 $(MAN) $(DESTDIR)$(PREFIX)/share/man/man8/$(MAN)
|
||||||
|
|
||||||
# "extended" install for Debian: install startup script
|
# "extended" install for Debian: install startup script
|
||||||
install-debian: install sslh $(MAN)
|
install-debian: install sslh $(MAN)
|
||||||
@ -96,4 +98,3 @@ cscope:
|
|||||||
|
|
||||||
test:
|
test:
|
||||||
./t
|
./t
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user