From 458c5c89e756152b4ef8ef7312e43bad1ef0ca62 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Thu, 15 Sep 1994 20:07:18 +0000 Subject: [PATCH] Install osreldate.h with the correct owner, group and mode. It is still created at install time and not compared with the current version, so it can't be installed using install and the timestamp of the target gets clobbered. --- include/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/Makefile b/include/Makefile index 9001638f65d5..c8402ac66955 100644 --- a/include/Makefile +++ b/include/Makefile @@ -1,5 +1,5 @@ # From: @(#)Makefile 8.2 (Berkeley) 1/4/94 -# $Id: Makefile,v 1.11 1994/08/28 17:43:52 bde Exp $ +# $Id: Makefile,v 1.12 1994/09/08 10:36:30 bde Exp $ # # Doing a make install builds /usr/include # @@ -50,6 +50,8 @@ beforeinstall: ${SHARED} @echo \#'undef __FreeBSD_version' > ${DESTDIR}/usr/include/osreldate.h @echo \#'define __FreeBSD_version '`sysctl -n kern.osreldate` \ >> ${DESTDIR}/usr/include/osreldate.h + @chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/osreldate.h + @chmod 444 ${DESTDIR}/usr/include/osreldate.h @${ECHO} installing ${DIRS} @-for i in ${DIRS}; do \ if [ ! -d ${DESTDIR}/usr/include/$$i ]; \