Create MANDIR in /usr/local

This commit is contained in:
Reyk Floeter 2017-07-03 16:52:50 +02:00
parent b3bc491677
commit 1f7ad6d796

View file

@ -1,6 +1,7 @@
PROG= cloud-agent PROG= cloud-agent
SRCS= main.c xml.c azure.c cloudinit.c http.c log.c SRCS= main.c xml.c azure.c cloudinit.c http.c log.c
BINDIR= /usr/local/libexec BINDIR= /usr/local/libexec
MANDIR= /usr/local/share/man/man
MAN= cloud-agent.8 MAN= cloud-agent.8
@ -17,4 +18,7 @@ CFLAGS+= -Wsign-compare -Wcast-qual
LDADD+= -lexpat -ltls -lssl -lcrypto LDADD+= -lexpat -ltls -lssl -lcrypto
DPADD+= ${LIBEXPAT} ${LIBTLS} ${LIBSSL} ${LIBCRYPTO} DPADD+= ${LIBEXPAT} ${LIBTLS} ${LIBSSL} ${LIBCRYPTO}
beforeinstall:
mkdir -p ${MANDIR}8
.include <bsd.prog.mk> .include <bsd.prog.mk>