aboutsummaryrefslogtreecommitdiff
path: root/share/zoneinfo/Makefile
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1997-03-09 09:41:44 +0000
committerBruce Evans <bde@FreeBSD.org>1997-03-09 09:41:44 +0000
commit93a4679a23a88ce62d7d4e3aa32433e3bf9bc77e (patch)
treecbd553f8c455e5afd95d32e7f685bff925d7d871 /share/zoneinfo/Makefile
parente2a82ece464c9ef6c47fe4d337a3d694b56c59af (diff)
downloadsrc-93a4679a23a88ce62d7d4e3aa32433e3bf9bc77e.tar.gz
src-93a4679a23a88ce62d7d4e3aa32433e3bf9bc77e.zip
Don't use a dot in the chown command. Fixed some minor style bugs.
Building things at install time under ${DESTDIR} was too hard to fix. Bruce
Notes
Notes: svn path=/head/; revision=23569
Diffstat (limited to 'share/zoneinfo/Makefile')
-rw-r--r--share/zoneinfo/Makefile28
1 files changed, 14 insertions, 14 deletions
diff --git a/share/zoneinfo/Makefile b/share/zoneinfo/Makefile
index 8c74b33a6c63..569b0cb8e8fb 100644
--- a/share/zoneinfo/Makefile
+++ b/share/zoneinfo/Makefile
@@ -1,6 +1,5 @@
-# $Id$
+# $Id: Makefile,v 1.14 1997/02/22 13:56:50 peter Exp $
-NOBIN=
CLEANFILES+= yearistype
.if defined(LEAPSECONDS)
@@ -18,24 +17,25 @@ TZFILES+= backward
.endif
.if exists(${.OBJDIR}/yearistype)
-YEARISTYPE=${.OBJDIR}/yearistype
+YEARISTYPE= ${.OBJDIR}/yearistype
.else
-YEARISTYPE=${.CURDIR}/yearistype
+YEARISTYPE= ${.CURDIR}/yearistype
.endif
-all: yearistype
-depend:
+all: yearistype
-yearistype: yearistype.sh
- cp ${.CURDIR}/yearistype.sh yearistype
- chmod +x yearistype
+yearistype: yearistype.sh
+ cp ${.ALLSRC} ${.TARGET}
+ chmod +x ${.TARGET}
-afterinstall: yearistype
+beforeinstall:
umask 022; cd ${.CURDIR}; \
zic -d ${DESTDIR}/usr/share/zoneinfo -p ${POSIXRULES} \
- ${LEAPFILE} -y ${YEARISTYPE} ${TZFILES}
- chown -R bin.bin ${DESTDIR}/usr/share/zoneinfo/*
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/zone.tab \
- ${DESTDIR}/usr/share/zoneinfo
+ ${LEAPFILE} -y ${YEARISTYPE} ${TZFILES}
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
+ ${.CURDIR}/zone.tab ${DESTDIR}/usr/share/zoneinfo/
+
+afterinstall:
+ chown -R ${BINOWN}:${BINGRP} ${DESTDIR}/usr/share/zoneinfo/*
.include <bsd.prog.mk>