Permalink
Browse files

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>
  • Loading branch information...
stweil committed May 15, 2017
1 parent 2a4483d commit 5d60444f40eb5635c6fdd0d2b1ec818b9cb9b821
Showing with 2 additions and 2 deletions.
  1. +1 −1 autogen.sh
  2. +1 −1 java/Makefile.am
View
@@ -104,7 +104,7 @@ autoheader -f || bail_out
# they are copied from the system so they can be used in a distribution.
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:
# . configure.ac
View
@@ -64,7 +64,7 @@ uninstall:
rm -f $(scrollview_path)/*.jar
endif
clean :
clean-local:
rm -f ScrollView.jar $(SCROLLVIEW_CLASSES)
# all-am does nothing, to make the java part optional.

0 comments on commit 5d60444

Please sign in to comment.