aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaul Traina <pst@FreeBSD.org>1994-11-01 09:19:50 +0000
committerPaul Traina <pst@FreeBSD.org>1994-11-01 09:19:50 +0000
commit49ccad71de24ddbb15650738a82132e26ea15ee3 (patch)
tree21295e4319c3edd470edad35b18a5dad48991679 /include
parenta78d3e072d1b841e129d724d36213dada784a0e7 (diff)
Notes
Diffstat (limited to 'include')
-rw-r--r--include/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/Makefile b/include/Makefile
index b29124fce6a1..a117cc7d385a 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -1,5 +1,5 @@
# From: @(#)Makefile 8.2 (Berkeley) 1/4/94
-# $Id: Makefile,v 1.17 1994/10/26 18:35:39 ljo Exp $
+# $Id: Makefile,v 1.18 1994/10/31 00:42:20 ats Exp $
#
# Doing a make install builds /usr/include
#
@@ -42,7 +42,7 @@ OSREL = ${DESTDIR}/usr/include/osreldate.h
beforeinstall: ${SHARED}
@${ECHO} installing ${FILES}
@-for i in ${FILES}; do \
- cmp -s $$i ${DESTDIR}/usr/include/$$i > /dev/null 2>&1 || \
+ cmp -s $$i ${DESTDIR}/usr/include/$$i || \
install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$i \
${DESTDIR}/usr/include/$$i; \
done
@@ -50,7 +50,7 @@ beforeinstall: ${SHARED}
@echo \#'undef __FreeBSD_version' > ${OSREL}.new
@echo \#'define __FreeBSD_version '`sysctl -n kern.osreldate` \
>> ${OSREL}.new
- @if cmp -s ${OSREL} ${OSREL}.new >/dev/null 2>&1 ; then \
+ @if cmp -s ${OSREL} ${OSREL}.new ; then \
rm -f ${OSREL}.new ; else \
mv -f ${OSREL}.new ${OSREL} ; fi
@chown ${BINOWN}.${BINGRP} ${OSREL}
@@ -64,8 +64,7 @@ beforeinstall: ${SHARED}
chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/$$i; \
chmod 755 ${DESTDIR}/usr/include/$$i; \
(cd $$i; for j in *.[ih]; do \
- cmp -s $$j ${DESTDIR}/usr/include/$$i/$$j > \
- /dev/null 2>&1 || \
+ cmp -s $$j ${DESTDIR}/usr/include/$$i/$$j || \
install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$j \
${DESTDIR}/usr/include/$$i/$$j; \
done); \