Browse Source

Fix running 'make clean' when gradle is not present. Gradle is used for the Android build and is not needed when just building eSpeak NG on Linux/BSD systems.

master
Reece H. Dunn 8 years ago
parent
commit
ee61cc4358
2 changed files with 4 additions and 0 deletions
  1. 2
    0
      Makefile.am
  2. 2
    0
      configure.ac

+ 2
- 0
Makefile.am View File

@@ -59,7 +59,9 @@ install-exec-hook:
clean-local:
cd src && rm -f *.o *~ && cd ..
cd src/libespeak-ng/ && rm -f *.o *.lo && cd ../..
if HAVE_GRADLE
cd android && $(GRADLE) clean
endif

distclean-local:
rm -rf espeak-ng-data/phondata-manifest

+ 2
- 0
configure.ac View File

@@ -33,8 +33,10 @@ AC_ARG_WITH([gradle],
AC_MSG_CHECKING([for gradle])
if test -e ${GRADLE} ; then
AC_MSG_RESULT([${GRADLE}])
AM_CONDITIONAL(HAVE_GRADLE, [1])
else
AC_MSG_RESULT([no])
AM_CONDITIONAL(HAVE_GRADLE, [0])
fi

AC_SUBST(GRADLE)

Loading…
Cancel
Save