diff options
author | bde <bde@FreeBSD.org> | 1994-09-15 20:07:18 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1994-09-15 20:07:18 +0000 |
commit | ee4760d1f23d4306ebc42888dcb85efda118caa0 (patch) | |
tree | e8e18f24e9263eebbde6d0fb4bd02789c8e52ba7 /include | |
parent | 797f1dafb87f77babbad439e353c8c0de6154871 (diff) | |
download | FreeBSD-src-ee4760d1f23d4306ebc42888dcb85efda118caa0.zip FreeBSD-src-ee4760d1f23d4306ebc42888dcb85efda118caa0.tar.gz |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/Makefile b/include/Makefile index 9001638..c8402ac 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 ]; \ |