1
0
mirror of https://github.com/moparisthebest/sslh synced 2024-11-24 10:02:16 -05:00

Merge pull request #49 from dunn/master

Makefile: fix `install` for Mac OS
This commit is contained in:
yrutschle 2015-05-18 11:12:45 +02:00
commit 7c35ef8528

View File

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