Module Name: src
Committed By: dholland
Date: Fri Dec 25 07:00:52 UTC 2020
Modified Files:
src/usr.bin/calendar: Makefile
Log Message:
List calendar's known calendars explicitly, and only install those.
Prevents build failures caused by installing editor backups and other
such silliness.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/usr.bin/calendar/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/calendar/Makefile
diff -u src/usr.bin/calendar/Makefile:1.14 src/usr.bin/calendar/Makefile:1.15
--- src/usr.bin/calendar/Makefile:1.14 Tue Apr 14 22:15:17 2009
+++ src/usr.bin/calendar/Makefile Fri Dec 25 07:00:52 2020
@@ -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>