Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/calendar List calendar's known calendars explicitly,...
details: https://anonhg.NetBSD.org/src/rev/76023a614371
branches: trunk
changeset: 1017377:76023a614371
user: dholland <dholland%NetBSD.org@localhost>
date: Fri Dec 25 07:00:52 2020 +0000
description:
List calendar's known calendars explicitly, and only install those.
Prevents build failures caused by installing editor backups and other
such silliness.
diffstat:
usr.bin/calendar/Makefile | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r 2ec1207186df -r 76023a614371 usr.bin/calendar/Makefile
--- a/usr.bin/calendar/Makefile Thu Dec 24 22:36:43 2020 +0000
+++ b/usr.bin/calendar/Makefile Fri Dec 25 07:00:52 2020 +0000
@@ -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>
Home |
Main Index |
Thread Index |
Old Index