From 6d26a929ee4212aa8f9d4a8598afac5f89770bef Mon Sep 17 00:00:00 2001 From: bde Date: Sun, 9 Mar 1997 09:41:44 +0000 Subject: 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 --- share/zoneinfo/Makefile | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'share/zoneinfo') diff --git a/share/zoneinfo/Makefile b/share/zoneinfo/Makefile index 8c74b33..569b0cb 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 -- cgit v1.1