48cfb668fc
specified in the top level Makefiles. Previously I missed dozens of Makefiles that skip the install after using `cmp -s' to decide that the install isn't necessary.
17 lines
413 B
Makefile
17 lines
413 B
Makefile
# $Header: /home/ncvs/src/gnu/lib/libregex/Makefile,v 1.14 1995/03/12 23:21:29 ache Exp $
|
|
|
|
|
|
LIB= gnuregex
|
|
CFLAGS+=-I${.CURDIR} -DHAVE_STRING_H=1 -DSTDC_HEADERS=1
|
|
SRCS= regex.c
|
|
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
|
|
|
|
.include <bsd.lib.mk>
|