SINGA-77 Integrate with Apache RAT

Refine error message: include URL for downloading Apache RAT.


Project: http://git-wip-us.apache.org/repos/asf/incubator-singa/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-singa/commit/aad22fcd
Tree: http://git-wip-us.apache.org/repos/asf/incubator-singa/tree/aad22fcd
Diff: http://git-wip-us.apache.org/repos/asf/incubator-singa/diff/aad22fcd

Branch: refs/heads/master
Commit: aad22fcd59a82ded6acaed7423ad9a8b43d79b59
Parents: 207e05f
Author: Anh Dinh <[email protected]>
Authored: Thu Oct 1 07:22:09 2015 +0000
Committer: Anh Dinh <[email protected]>
Committed: Thu Oct 1 07:23:20 2015 +0000

----------------------------------------------------------------------
 Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/aad22fcd/Makefile.am
----------------------------------------------------------------------
diff --git a/Makefile.am b/Makefile.am
index 0e0f948..77d6ded 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -169,10 +169,10 @@ clean-local:
 rat:
        @if test ! -z '$(shell command -v java 2>/dev/null)'; then \
                if test ! -z '$(shell echo $$RAT_PATH)'; then \
-                       make clean;\
+                       make distclean;\
                        java -jar $(RAT_PATH) -E rat-excludes -d . > rat_check; 
\
                else \
-                       echo "RAT_PATH is not set to correct jar file"; \
+                       echo "RAT_PATH is not set to correct jar file. Apache 
RAT can be downloaded at http://creadur.apache.org/rat/download_rat.cgi";; \
                fi \
        else \
                echo "java is not found"; \

Reply via email to