build: silence stderr on coverity rules
authorLucas De Marchi <lucas.demarchi@intel.com>
Tue, 9 Jun 2015 05:01:11 +0000 (02:01 -0300)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 9 Jun 2015 05:01:11 +0000 (02:01 -0300)
We try to execute git in order to get the dependencies for the coverity
rules. And it gets executed even when we are not calling that specific
rule.  Later we may want to improve it, but for now let's just silence
the errors of not being a git repository when executing this on a
packaged version.

Makefile.am

index 5614317..a1b6632 100644 (file)
@@ -451,9 +451,9 @@ kmod-coverity-%.tar.xz:
        cov-build --dir cov-int make -j 4
        tar caf $@ cov-int
 
-coverity-tar: kmod-coverity-$(shell git describe).tar.xz
+coverity-tar: kmod-coverity-$(shell git describe  2>/dev/null).tar.xz
 
-coverity-sync: kmod-coverity-$(shell git describe).tar.xz
+coverity-sync: kmod-coverity-$(shell git describe 2>/dev/null).tar.xz
        @echo "uploading coverity tarball"
        @curl --form token=$(COVERITY_KMOD_TOKEN) \
                --form email=lucas.de.marchi@gmail.com \