]> git.donarmstrong.com Git - lilypond.git/commitdiff
stepmake/aclocal.m4: --srcdir tarball build fix: include <src-dir>/lily/out.
authorJan Nieuwenhuizen <janneke@gnu.org>
Thu, 9 Jul 2009 14:37:07 +0000 (16:37 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Thu, 9 Jul 2009 14:38:15 +0000 (16:38 +0200)
Our tarballs ship lily/out/parser.hh, which cannot be found when doing
a srcdir build.  We never found out, because GUB only built from GIT,
apparently.

stepmake/aclocal.m4

index 27dfb0b511786545fbac52cf8655f89f56b79b1b..37bf7fe34f9f20451db7a37beddadff098359541 100644 (file)
@@ -401,6 +401,7 @@ EOF
 print 'depth=' + ('../' * ( $d-1 ) )
 print 'include \$(depth)/config\$(if \$(conf),-\$(conf),).make'
 print 'include \$(configure-srcdir)/$mf'
+print 'MODULE_INCLUDES += \$(src-dir)/\$(outbase)'
 EOF
            done
            for mf in `cd $srcdir ; find -maxdepth $d -mindepth $d -name '*.make' | grep -v config.make `; do