summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 84bce00a9..9a42039a9 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -62,7 +62,10 @@ install: $(TARGET_LIB)
$(top_srcdir)/build/mkdir.sh $(includedir); \
fi;
cp $(top_srcdir)/include/*.h $(includedir);
- cp $(top_blddir)/include/*.h $(includedir);
+
+ if test -n "$(top_blddir)"; then \
+ cp $(top_blddir)/include/*.h $(includedir); \
+ fi;
if [ ! -d $(libdir) ]; then \
$(top_srcdir)/build/mkdir.sh $(libdir); \
fi;