* stepmake/aclocal.m4 (depth): make sure $srcdir is absolute.
also allow python2.4
* stepmake/aclocal.m4: don't do non-srcdir build with
symlinks. Use inclusion, so the src directory name can be changed.
2005-11-13 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * python/convertrules.py (conv): add warning about drums.
+
* make/stepmake.make: include toplevel-version.make after config.make.
* stepmake/aclocal.m4 (depth): make sure $srcdir is absolute.
# Toplevel_version.make
+ifeq ($(configure-srcdir), .)
+include $(depth)/VERSION
+else
include $(configure-srcdir)/VERSION
+endif
+
TOPLEVEL_MAJOR_VERSION=$(MAJOR_VERSION)
TOPLEVEL_MINOR_VERSION=$(MINOR_VERSION)
TOPLEVEL_PATCH_LEVEL=$(PATCH_LEVEL)
def conv (str):
+ if re.search ('include "drumpitch', str):
+ error_file.write ("Drums found. Enclose drum notes in \\drummode")
+
str = re.sub (r'\\include "drumpitch-init.ly"','', str)
+
str = re.sub (r'\\pitchnames ','pitchnames = ', str)
str = re.sub (r'\\chordmodifiers ','chordmodifiers = ', str)
str = re.sub (r'\bdrums\b\s*=','drumContents = ', str)
AC_SUBST(ugh_ugh_autoconf250_builddir)
# use absolute path.
- srcdir=$(cd $srcdir; pwd)
+ if [ "$srcdir" != "." ]; then
+ srcdir=$(cd $srcdir; pwd)
+ fi
AC_SUBST(srcdir)
AC_SUBST(stepmake)