Add cmp -s to beforeinstall target

This commit is contained in:
Andrey A. Chernov 1995-03-12 23:21:29 +00:00
parent 82f5379bc5
commit c14b1eb830
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7043

View File

@ -1,4 +1,4 @@
# $Header: /home/ncvs/src/gnu/lib/libregex/Makefile,v 1.12 1995/01/16 17:54:57 ache Exp $
# $Header: /home/ncvs/src/gnu/lib/libregex/Makefile,v 1.13 1995/03/06 05:51:32 nate Exp $
LIB= gnuregex
@ -9,6 +9,7 @@ NOMAN= noman
SUBDIR+= doc
beforeinstall:
cmp -s ${.CURDIR}/regex.h ${DESTDIR}/usr/include/gnuregex.h || \
install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
${.CURDIR}/regex.h ${DESTDIR}/usr/include/gnuregex.h