Move the header installation down into `readline' which is the subsystem
the headers are part of.
This commit is contained in:
parent
e0d607e198
commit
249e73f997
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=56804
@ -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