From 5363159944a4668e453c51605cd59292c6dce34d Mon Sep 17 00:00:00 2001 From: rasher Date: Sat, 11 Aug 2007 22:41:15 +0000 Subject: [PATCH] Only allow make voice if voice building has been configured. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14286 a1c6a512-1295-4272-9138-f99709370657 --- tools/configure | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/tools/configure b/tools/configure index 5601a9aae..3af6885ab 100755 --- a/tools/configure +++ b/tools/configure @@ -1742,11 +1742,6 @@ clean: html txt rockbox-manual*.zip sysfont.h rockbox-info.txt \ voicefontids *.wav *.mp3 *.voice -voice: tools - \$(SILENT)\$(MAKE) -C \$(APPSDIR) OBJDIR=\$(BUILDDIR)/@APPS@ features - \$(SILENT)for f in \`cat \$(BUILDDIR)/@APPS@/features\`; do feat="\$\$feat:\$\$f" ; done ; \\ - \$(TOOLSDIR)/genvoice.sh \$(ROOTDIR) \$(VOICELANGUAGE) \$(ARCHOS)\$\$feat \$(TARGET_ID) voicesettings.sh - tools: \$(SILENT)\$(MAKE) -C \$(TOOLSDIR) CC=\$(HOSTCC) @TOOLSET@ @@ -1833,4 +1828,16 @@ EOF fi +if [ "yes" = "$voice" ]; then + + cat >> Makefile <