List calendar's known calendars explicitly, and only install those.

Prevents build failures caused by installing editor backups and other
such silliness.
This commit is contained in:
dholland 2020-12-25 07:00:52 +00:00
parent bc0a983a5e
commit 5a724c86b4
1 changed files with 8 additions and 2 deletions

View File

@ -1,12 +1,18 @@
# $NetBSD: Makefile,v 1.14 2009/04/14 22:15:17 lukem Exp $
# $NetBSD: Makefile,v 1.15 2020/12/25 07:00:52 dholland Exp $
# @(#)Makefile 8.1 (Berkeley) 6/6/93
.include <bsd.own.mk>
CALENDARS= birthday christian computer history holiday judaic \
lotr music netbsd usholiday
PROG= calendar
.if ${MKSHARE} != "no"
FILESDIR=/usr/share/calendar
FILES!= echo ${.CURDIR}/calendars/calendar.*
.for _C_ in ${CALENDARS}
FILES+=${.CURDIR}/calendars/calendar.${_C_}
.endfor
.endif
.include <bsd.prog.mk>