automake: Enable all warnings and fix a warning

Fix this automake warning for java/Makefile.am:

    java/Makefile.am:67: warning: user target 'clean' defined here ...
    automake: ... overrides Automake target 'clean' defined here
    java/Makefile.am:67: consider using clean-local instead of clean

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2017-05-15 20:08:54 +02:00 committed by Zdenko Podobný
parent e465542a99
commit 91cb28a712
2 changed files with 2 additions and 2 deletions

View File

@ -104,7 +104,7 @@ autoheader -f || bail_out
# they are copied from the system so they can be used in a distribution. # they are copied from the system so they can be used in a distribution.
echo "Running automake --add-missing --copy" echo "Running automake --add-missing --copy"
automake --add-missing -c -Wno-portability > /dev/null || bail_out automake --add-missing --copy --warnings=all || bail_out
# --- Step 5: Generate configure and include/miaconfig.h from: # --- Step 5: Generate configure and include/miaconfig.h from:
# . configure.ac # . configure.ac

View File

@ -64,7 +64,7 @@ uninstall:
rm -f $(scrollview_path)/*.jar rm -f $(scrollview_path)/*.jar
endif endif
clean : clean-local:
rm -f ScrollView.jar $(SCROLLVIEW_CLASSES) rm -f ScrollView.jar $(SCROLLVIEW_CLASSES)
# all-am does nothing, to make the java part optional. # all-am does nothing, to make the java part optional.