Fix the build by building 30-hostname

This commit is contained in:
roy 2020-04-02 14:05:28 +00:00
parent 134f8ca66a
commit 3a7c0202f1

View File

@ -1,15 +1,24 @@
# $NetBSD: Makefile,v 1.3 2017/04/02 20:18:38 roy Exp $
# $NetBSD: Makefile,v 1.4 2020/04/02 14:05:28 roy Exp $
#
.include <bsd.own.mk>
.include "../../Makefile.inc"
HOOKSRC= ${DIST}/hooks
.PATH: ${HOOKSRC}
.PATH: ${DIST}/hooks
FILES= 01-test 02-dump 20-resolv.conf 30-hostname
FILES+= 50-ntp.conf
FILES= 01-test 02-dump 20-resolv.conf 30-hostname
FILES+= 50-ntp.conf
FILESBUILD_30-hostname= YES
FILESDIR= /libexec/dhcpcd-hooks
FILESDIR= /libexec/dhcpcd-hooks
CLEANFILES= 30-hostname
.for f in ${FILES}
${f}: ../../Makefile.inc ${f}.in
${TOOL_SED} ${SED_SYS} ${HOOKSRC}/${f}.in > $@
.endfor
.include <bsd.prog.mk>