From 0aa2008a4199674aaab9e76995a5e4359b1fedc6 Mon Sep 17 00:00:00 2001 From: "Alexander V. Lukyanov" Date: Wed, 17 Mar 1999 15:17:12 +0000 Subject: [PATCH] Install headers from $(SRCDIR). --- include/Makefile.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/Makefile.in b/include/Makefile.in index 3b3917db860..72e7d85602f 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -17,8 +17,12 @@ INSTALLED_INCLUDES = \ # Testing LIB_TARGET prevents installing header files # when --disable-lib is used install:: dummy - if [ $(LIB_TARGET) ]; then [ -d $(includedir) ] || $(MKDIR) $(includedir); \ - $(INSTALL_DATA) $(INSTALLED_INCLUDES) $(includedir); fi + if [ $(LIB_TARGET) ]; then \ + [ -d $(includedir) ] || $(MKDIR) $(includedir); \ + for f in $(INSTALLED_INCLUDES); do \ + $(INSTALL_DATA) $(SRCDIR)/$$f $(includedir); \ + done; \ + fi # Don't just do a rm -rf on $(includedir) -- don't want to wipe out # anything extra the user may have put there.