diff options
author | Simon J. Gerraty <sjg@FreeBSD.org> | 2015-06-11 21:13:05 +0000 |
---|---|---|
committer | Simon J. Gerraty <sjg@FreeBSD.org> | 2015-06-11 21:13:05 +0000 |
commit | bd831db65c7a8d887ad72471f50e119c3b7e3599 (patch) | |
tree | 7e6e9f9c45d1183aeb68258feec369f9231144d6 /gnu/lib | |
parent | ab21b9ab84ffbfa9515a64a3dd03e61eecead694 (diff) | |
download | src-bd831db65c7a8d887ad72471f50e119c3b7e3599.tar.gz src-bd831db65c7a8d887ad72471f50e119c3b7e3599.zip |
Misc fixes from projects/bmake
Differential Revision: D2748
Reviewed by: brooks imp
Notes
Notes:
svn path=/head/; revision=284289
Diffstat (limited to 'gnu/lib')
-rw-r--r-- | gnu/lib/libreadline/readline/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/gnu/lib/libreadline/readline/Makefile b/gnu/lib/libreadline/readline/Makefile index 2afeafc61f82..f0bfe5bd10fd 100644 --- a/gnu/lib/libreadline/readline/Makefile +++ b/gnu/lib/libreadline/readline/Makefile @@ -16,11 +16,15 @@ INSTALLED_HEADERS= readline.h chardefs.h keymaps.h history.h tilde.h \ CFLAGS+= -I${.OBJDIR}/.. SRCDIR= ${.CURDIR}/../../../../contrib/libreadline +.NOPATH: ${INSTALLED_HEADERS} + +beforebuild: ${INSTALLED_HEADERS} +CLEANFILES+= ${INSTALLED_HEADERS} +DPSRCS+= ${INSTALLED_HEADERS} + .for _h in ${INSTALLED_HEADERS} -CLEANFILES+= ${_h} -DPSRCS+= ${.OBJDIR}/${_h} -${.OBJDIR}/${_h}: ${SRCDIR}/${_h} - ${INSTALL} ${.ALLSRC} ${.TARGET} +${_h}: ${SRCDIR}/${_h} + ln -sf ${.ALLSRC} ${.TARGET} .endfor LIBADD= ncursesw |