6579f34131
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
372 B
Makefile
17 lines
372 B
Makefile
# $Id: Makefile,v 1.1.1.1 1995/01/14 22:23:41 wollman Exp $
|
|
|
|
LIB= com_err
|
|
SRCS= com_err.c error_message.c et_name.c init_et.c
|
|
CFLAGS+= -I.
|
|
MAN3= com_err.3
|
|
|
|
SUBDIR= doc
|
|
|
|
beforeinstall:
|
|
-cd ${.CURDIR}; cmp -s com_err.h ${DESTDIR}/usr/include/com_err.h || \
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 com_err.h \
|
|
${DESTDIR}/usr/include
|
|
|
|
.include <bsd.lib.mk>
|
|
|