summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tzsetup/Makefile
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1995-04-24 21:04:35 +0000
committerwollman <wollman@FreeBSD.org>1995-04-24 21:04:35 +0000
commita90da0ca41b1694b5b2cf38b7c36f912ad28b19e (patch)
tree980263aed3bcc058801d9292608a3f1b083db5eb /usr.sbin/tzsetup/Makefile
parentb75b8fba1b9063ee1f4f26a3c5e5d25503c71650 (diff)
downloadFreeBSD-src-a90da0ca41b1694b5b2cf38b7c36f912ad28b19e.zip
FreeBSD-src-a90da0ca41b1694b5b2cf38b7c36f912ad28b19e.tar.gz
Grand new all-singing, dialog-wielding tzsetup(8). Still needs a man page.
Diffstat (limited to 'usr.sbin/tzsetup/Makefile')
-rw-r--r--usr.sbin/tzsetup/Makefile20
1 files changed, 14 insertions, 6 deletions
diff --git a/usr.sbin/tzsetup/Makefile b/usr.sbin/tzsetup/Makefile
index 6959dcb..0e316ef 100644
--- a/usr.sbin/tzsetup/Makefile
+++ b/usr.sbin/tzsetup/Makefile
@@ -1,12 +1,20 @@
-# $Id$
+# $Id: Makefile,v 1.1 1994/09/13 23:01:57 wollman Exp $
-NOPROG= tzsetup
+PROG= tzsetup
NOMAN=
+SRCS= main.c tzmenu.c menus.c
+CFLAGS+= -I. -I${.CURDIR}
+CLEANFILES+= menus.c
+LDADD+= -ldialog -lncurses -lmytinfo
+DPADD+= ${LIBDIALOG} ${LIBNCURSES} ${LIBMYTINFO}
-all depend:
+Z= ${.CURDIR}/../../share/zoneinfo
+.PATH: ${Z}
-beforeinstall:
- $(INSTALL) -c -m $(BINMODE) -o $(BINOWN) -g $(BINGRP) \
- ${.CURDIR}/tzsetup.sh ${DESTDIR}${BINDIR}/tzsetup
+ZF= africa antarctica asia australasia europe northamerica southamerica
+
+menus.c: grok.pl ${ZF}
+ perl ${.CURDIR}/grok.pl `for a in ${ZF}; do echo ${Z}/$$a; done` \
+ > ${.TARGET}
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud