Move the header installation down into `readline' which is the subsystem
the headers are part of.
This commit is contained in:
parent
73742a1329
commit
7a2450fd89
@ -2,15 +2,4 @@
|
||||
|
||||
SUBDIR = history readline
|
||||
|
||||
SRCDIR= ${.CURDIR}/../../../contrib/libreadline
|
||||
|
||||
INSTALLED_HEADERS= readline.h chardefs.h keymaps.h history.h tilde.h \
|
||||
rlstdc.h rlconf.h
|
||||
|
||||
beforeinstall:
|
||||
.for i in ${INSTALLED_HEADERS}
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${SRCDIR}/$i \
|
||||
${DESTDIR}/usr/include/readline
|
||||
.endfor
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.include <bsd.subdir.mk>
|
||||
|
@ -12,7 +12,14 @@ SRCS= readline.c vi_mode.c funmap.c keymaps.c parens.c search.c \
|
||||
nls.c xmalloc.c \
|
||||
$(HISTSRC) $(TILDESRC)
|
||||
|
||||
INSTALLED_HEADERS= readline.h chardefs.h keymaps.h history.h tilde.h \
|
||||
rlstdc.h rlconf.h
|
||||
|
||||
DPADD+= $(LIBTERMCAP)
|
||||
LDADD+= -ltermcap
|
||||
|
||||
.for hdr in ${INSTALLED_HEADERS}
|
||||
INCS+= ${SRCDIR}/${hdr}
|
||||
.endfor
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user