From 022978656f7ebfa2a06314feedabdca4d7babde6 Mon Sep 17 00:00:00 2001 From: jtc Date: Mon, 29 Apr 1996 20:32:24 +0000 Subject: [PATCH] Use 'includes' instead of 'beforeinstall' target to install headers --- lib/libpcap/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libpcap/Makefile b/lib/libpcap/Makefile index 2037374a59ce..c135c1c12eeb 100644 --- a/lib/libpcap/Makefile +++ b/lib/libpcap/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 1995/03/06 11:38:04 mycroft Exp $ +# $NetBSD: Makefile,v 1.2 1996/04/29 20:32:24 jtc Exp $ LIB= pcap MAN= pcap.3 @@ -13,7 +13,7 @@ SRCS= pcap.c inet.c gencode.c optimize.c nametoaddr.c etherent.c \ CLEANFILES+= grammar.c scanner.c y.tab.h -beforeinstall: +includes: @cd ${.CURDIR}; for i in $(HDRS); do \ cmp -s $$i ${DESTDIR}/usr/include/$$i || \ { j="install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$i \