summaryrefslogtreecommitdiff
path: root/guile/Makefile.am
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-02-21 18:58:35 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-02-22 11:57:01 +0100
commit3f98b1a874591c036675cce1f7380c5ad191ed1a (patch)
tree773cf7ee9820879b05cfb2a3cf9f94496c63d1ce /guile/Makefile.am
parentf8a9d4248c8e1f2369358de9141483b01d70366f (diff)
downloadgnutls-3f98b1a874591c036675cce1f7380c5ad191ed1a.tar.gz
guile: Fix out-of-tree builds.
This fixes a regression introduced in 3045a96. * guile/Makefile.am (.in.scm): Make the parent directory of $@.
Diffstat (limited to 'guile/Makefile.am')
-rw-r--r--guile/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/guile/Makefile.am b/guile/Makefile.am
index 90c2fe5431..acbb594e2c 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" "$@"