[gnutls-devel] [PATCH] guile: Fix out-of-tree builds.

Ludovic Courtès ludo at gnu.org
Sun Feb 21 18:58:35 CET 2016


This fixes a regression introduced in 3045a96.

* guile/Makefile.am (.in.scm): Make the parent directory of $@.
---
 guile/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guile/Makefile.am b/guile/Makefile.am
index 90c2fe5..acbb594 100644
--- a/guile/Makefile.am
+++ b/guile/Makefile.am
@@ -44,7 +44,7 @@ EXTRA_DIST += modules/gnutls.in $(helper_modules) $(documentation_modules)
 CLEANFILES = modules/gnutls.scm
 
 .in.scm:
-	$(AM_V_GEN)cat "$^" |						\
+	$(AM_V_GEN)$(MKDIR_P) "`dirname "$@"`" ; cat "$^" |		\
 	  $(SED) -e's|[@]guileextensiondir[@]|$(guileextensiondir)|g'	\
 	  > "$@.tmp"
 	$(AM_V_at)mv "$@.tmp" "$@"
-- 
2.6.3




More information about the Gnutls-devel mailing list