diff --git a/bootstrap b/bootstrap index 49468eb6..bd313649 100755 --- a/bootstrap +++ b/bootstrap @@ -29,7 +29,7 @@ sed -i -e "s/EXTRA_DIST =.*/EXTRA_DIST = $AUDACIOUS_HDRS/g" ./audacious/Makefile # again, not very pretty VGMSTREAM_VERSION=`./version.sh` sed -i -e "s/VGMSTREAM_VERSION/$VGMSTREAM_VERSION/g" ./audacious/Makefile.autotools.am - +sed -i -e "s/VGMSTREAM_VERSION/$VGMSTREAM_VERSION/g" ./cli/Makefile.autotools.am # create fake files expected by automake and process touch README AUTHORS NEWS ChangeLog diff --git a/cli/Makefile.autotools.am b/cli/Makefile.autotools.am index 40b0e3fa..2fac6dab 100644 --- a/cli/Makefile.autotools.am +++ b/cli/Makefile.autotools.am @@ -6,7 +6,7 @@ if HAVE_LIBAO bin_PROGRAMS += vgmstream123 endif -AM_CFLAGS = -I$(top_builddir) -I$(top_srcdir) -I$(top_srcdir)/ext_includes/ $(AO_CFLAGS) +AM_CFLAGS = -DVERSION=\"VGMSTREAM_VERSION\" -I$(top_builddir) -I$(top_srcdir) -I$(top_srcdir)/ext_includes/ $(AO_CFLAGS) AM_MAKEFLAGS = -f Makefile.autotools vgmstream_cli_SOURCES = vgmstream_cli.c