diff options
author | bde <bde@FreeBSD.org> | 1997-03-09 09:41:44 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-03-09 09:41:44 +0000 |
commit | 6d26a929ee4212aa8f9d4a8598afac5f89770bef (patch) | |
tree | d828cb3ae84ca1f4e23f43f106a70ae7be77f511 /share | |
parent | 7e5a42e799d1750820a7fbdb6e59f2da2fa4346f (diff) | |
download | FreeBSD-src-6d26a929ee4212aa8f9d4a8598afac5f89770bef.zip FreeBSD-src-6d26a929ee4212aa8f9d4a8598afac5f89770bef.tar.gz |
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
Diffstat (limited to 'share')
-rw-r--r-- | share/zoneinfo/Makefile | 28 |
1 files changed, 14 insertions, 14 deletions
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 <bsd.prog.mk> |