build-sys: when warning, also tell how to install git hooks.
authorKrisztian Litkey <krisztian.litkey@intel.com>
Wed, 27 Jun 2012 10:24:44 +0000 (13:24 +0300)
committerKrisztian Litkey <krisztian.litkey@intel.com>
Wed, 27 Jun 2012 10:27:14 +0000 (13:27 +0300)
Makefile.am

index e2c8627..2162e0f 100644 (file)
@@ -30,9 +30,13 @@ check-git-hooks:
                    *.sample|*~|*.swp) continue;;                            \
                esac;                                                        \
                if test -x $$hook -a ! -e .git/hooks/$${hook##*/}; then      \
+                   echo "";                                                 \
                    echo "WARNING:";                                         \
                    echo "WARNING: You have an uninstalled git hook $$hook"; \
+                   echo "WARNING: Please, consider taking it into use by";  \
+                   echo "WARNING: running 'make install-git-hooks'...";     \
                    echo "WARNING:";                                         \
+                   echo "";                                                 \
                fi                                                           \
            done                                                             \
        fi