Skip to content

Commit

Permalink
automake: Enable all warnings and fix a warning
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
stweil committed May 15, 2017
1 parent 2a4483d commit 5d60444
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion java/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 5d60444

Please sign in to comment.