fix a problem with headers not being installed properly... basicly the
installhdrs target was not being propagated to the subdirs... also fix rpcsvc's Makefile to have a installhdrs target to install the headers..
This commit is contained in:
parent
e6b54a1659
commit
4604167e0a
@ -1,5 +1,5 @@
|
||||
# From: @(#)Makefile 8.2 (Berkeley) 1/4/94
|
||||
# $Id: Makefile,v 1.60 1997/07/31 11:32:25 asami Exp $
|
||||
# $Id: Makefile,v 1.61 1997/08/18 06:28:47 peter Exp $
|
||||
#
|
||||
# Doing a make install builds /usr/include
|
||||
#
|
||||
@ -66,7 +66,7 @@ all:
|
||||
|
||||
beforeinstall: installhdrs ${SHARED}
|
||||
|
||||
installhdrs:
|
||||
installhdrs: _SUBDIR
|
||||
cd ${.CURDIR}; \
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
|
||||
${FILES} ${DESTDIR}/usr/include
|
||||
|
@ -1,5 +1,5 @@
|
||||
# from: @(#)Makefile 2.3 88/08/11 4.0 RPCSRC
|
||||
# $Id: Makefile,v 1.15 1997/05/28 04:38:13 wpaul Exp $
|
||||
# $Id: Makefile,v 1.16 1997/05/28 16:26:05 wpaul Exp $
|
||||
|
||||
.SUFFIXES: .x
|
||||
|
||||
@ -19,13 +19,18 @@ CLEANFILES+= ${HDRS}
|
||||
|
||||
all: ${HDRS}
|
||||
|
||||
beforeinstall:
|
||||
beforeinstall: installhdrs
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
|
||||
${HFILES:S;^;${.CURDIR}/;} \
|
||||
${XFILES:S;^;${.CURDIR}/;} \
|
||||
${HDRS} \
|
||||
${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}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user