Fix and simplify installhdrs target. It didn't install the headers in

${HFILES} and it's simpler to install the non-headers in ${XFILES}.
This commit is contained in:
Bruce Evans 1997-08-21 18:33:13 +00:00
parent e47c8739d5
commit 41b5513403
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=28542

View File

@ -1,5 +1,5 @@
# from: @(#)Makefile 2.3 88/08/11 4.0 RPCSRC
# $Id: Makefile,v 1.16 1997/05/28 16:26:05 wpaul Exp $
# $Id: Makefile,v 1.17 1997/08/21 09:29:49 jmg Exp $
.SUFFIXES: .x
@ -20,17 +20,14 @@ CLEANFILES+= ${HDRS}
all: ${HDRS}
beforeinstall: installhdrs
installhdrs:
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
${HFILES:S;^;${.CURDIR}/;} \
${XFILES:S;^;${.CURDIR}/;} \
${DESTDIR}/usr/include/rpcsvc
installhdrs:
cd ${.OBJDIR}; \
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
${HDRS} \
${DESTDIR}/usr/include/rpcsvc
.x.h:
${RPCCOM} -h ${.IMPSRC} -o ${.TARGET}