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.
This commit is contained in:
Bruce Evans 1994-09-15 20:07:18 +00:00
parent 87ad8e3b91
commit 458c5c89e7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2809

View File

@ -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 ]; \