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

clean-local: clean-local:
cd src && rm -f *.o *~ && cd .. cd src && rm -f *.o *~ && cd ..
cd src/libespeak-ng/ && rm -f *.o *.lo && cd ../.. cd src/libespeak-ng/ && rm -f *.o *.lo && cd ../..
if HAVE_GRADLE
cd android && $(GRADLE) clean cd android && $(GRADLE) clean
endif


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

+ 2
- 0
configure.ac View File

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


AC_SUBST(GRADLE) AC_SUBST(GRADLE)

Loading…
Cancel
Save