From a8b80d6b29b33ea39c96e5e366a0365886b31dc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 27 Feb 2014 14:14:21 +0100 Subject: [PATCH] build: Fix out-of-source-tree installation of libguile-2.0-gdb.scm. * libguile/Makefile.am (install-data-local): Use $< instead of just libguile-2.0-gdb.scm. Quote file names in $(INSTALL_DATA) invocation. --- libguile/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libguile/Makefile.am b/libguile/Makefile.am index c7ceb16c1..6a631d89f 100644 --- a/libguile/Makefile.am +++ b/libguile/Makefile.am @@ -468,10 +468,10 @@ install-data-local: libguile-2.0-gdb.scm esac; \ done; \ cd $$here; \ - echo " $(INSTALL_DATA) libguile-2.0-gdb.scm \ + echo " $(INSTALL_DATA) $< \ $(DESTDIR)$(libdir)/$$libname-gdb.scm"; \ - $(INSTALL_DATA) libguile-2.0-gdb.scm \ - $(DESTDIR)$(libdir)/$$libname-gdb.scm + $(INSTALL_DATA) "$<" \ + "$(DESTDIR)$(libdir)/$$libname-gdb.scm" ## This is kind of nasty... there are ".c" files that we don't want to ## compile, since they are #included. So instead we list them here.