summaryrefslogtreecommitdiffstats
path: root/usr.bin/ncal/Makefile
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>2004-11-23 22:57:17 +0000
committerwollman <wollman@FreeBSD.org>2004-11-23 22:57:17 +0000
commitb59dbc21230362efd6ec777cc8a70939afd7368a (patch)
treeac7c4af7310620fcd7602a3bbb0f2542ef4fc1c9 /usr.bin/ncal/Makefile
parent0b649957e7c518d5928550a68fddcba26d4f9126 (diff)
downloadFreeBSD-src-b59dbc21230362efd6ec777cc8a70939afd7368a.zip
FreeBSD-src-b59dbc21230362efd6ec777cc8a70939afd7368a.tar.gz
Add a `-m month' flag to provide a more convenient interface for
displaying a calendar for a specific month of the current year than `cal $(date +"%Y") month'. A few minor code cleanups. Set WARNS=1. (This code is WARNS=5 clean except for "`O' modifier used with `%B' strftime format", which is legal in FreeBSD but GCC doesn't know about.) MFC after: 1 week
Diffstat (limited to 'usr.bin/ncal/Makefile')
-rw-r--r--usr.bin/ncal/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/ncal/Makefile b/usr.bin/ncal/Makefile
index 1669027..b3e2284 100644
--- a/usr.bin/ncal/Makefile
+++ b/usr.bin/ncal/Makefile
@@ -5,6 +5,7 @@ SRCS= ncal.c
DPADD= ${LIBCALENDAR}
LDADD= -lcalendar
+WARNS= 1
LINKS= ${BINDIR}/ncal ${BINDIR}/cal
MLINKS= ncal.1 cal.1
OpenPOWER on IntegriCloud