Topics

[espeak-ng:master] reported: make clean ; make doesn't work. #github

espeak-ng@groups.io Integration <espeak-ng@...>
 

[espeak-ng:master] New Comment on Issue #201 make clean ; make doesn't work.
By ValdisVitolins:

make clean doesn't work for me also, but I can always build with: ./autogen.sh ./configure --prefix=/usr make -B ... except when I got problems with libraries on sudo make LIBDIR=/usr/lib/x86_64-linux-gnu install and I had to do before that: sudo rm /usr/lib/libespeak* /usr/local/lib/libespeak* /usr/local/lib/lt-espeak-ng* sudo rm -fr /usr/include/espeak* /usr/share/espeak-ng-data sudo ldconfig -v But I agree, that "something fishy" is happening during builds.

espeak-ng@groups.io Integration <espeak-ng@...>
 

[espeak-ng:master] New Comment on Issue #201 make clean ; make doesn't work.
By vrdhn:

Found that updating clean-local target to remove .o/.lo files from src/llibespeak-ng worked:

diff --git a/Makefile.am b/Makefile.am
index 1fb36583..82202bd0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -55,6 +55,7 @@ install-exec-hook:
 
 clean-local:
    cd src && rm -f *.o *~ && cd ..
 +  cd src/libespeak-ng/ && rm -f *.o *.lo && cd ../..
    cd android && $(GRADLE) clean