Move the header installation down into `readline' which is the subsystem

the headers are part of.
This commit is contained in:
David E. O'Brien 2000-01-29 12:01:52 +00:00
parent e0d607e198
commit 249e73f997
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=56804
2 changed files with 8 additions and 12 deletions

View File

@ -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>

View File

@ -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>