Move /var/svc/log to /var/log/svc
[unleashed/lotheac.git] / share / mk / inc.mk
bloba24bdf6be0aa6ac939ff37dcdee4612c6da9e4c3
1 # $Id: inc.mk,v 1.7 2017/05/06 17:29:45 sjg Exp $
3 # @(#) Copyright (c) 2008, Simon J. Gerraty
5 # This file is provided in the hope that it will
6 # be of use. There is absolutely NO WARRANTY.
7 # Permission to copy, redistribute or otherwise
8 # use this file is hereby granted provided that
9 # the above copyright notice and this notice are
10 # left intact.
12 # Please send copies of changes and bug-fixes to:
13 # sjg@crufty.net
16 .include <init.mk>
18 .if !empty(LIBOWN)
19 INC_INSTALL_OWN ?= -o ${LIBOWN} -g ${LIBGRP}
20 .endif
21 INCMODE ?= 444
22 INC_COPY ?= -C
23 INCSDIR ?= ${INCDIR}
25 realinstall: incinstall
26 .if !target(incinstall)
27 incinstall:
28 .if !empty(INCS)
29 ${INSTALL} -d ${INC_INSTALL_OWN} -m 755 ${DESTDIR}${INCSDIR}
30 cd ${.CURDIR} && ${INSTALL} ${INC_COPY} ${INC_INSTALL_OWN} -m ${INCMODE} ${INCS} ${DESTDIR}${INCSDIR}
31 .endif
32 .endif