This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:

Subject: libcecutil: remove empty generated headers on failure
Author:  Hans Verkuil <hverkuil-ci...@xs4all.nl>
Date:    Thu Oct 3 13:15:50 2019 +0200

If cec-gen.pl failed to generate the header, then delete the header
to avoid leaving empty headers.

Signed-off-by: Hans Verkuil <hverkuil-ci...@xs4all.nl>

 utils/libcecutil/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=b665ba955aa3680bafb50ab500de009cb7ae415e
diff --git a/utils/libcecutil/Makefile.am b/utils/libcecutil/Makefile.am
index 83a5c19aaf89..38fac37a6920 100644
--- a/utils/libcecutil/Makefile.am
+++ b/utils/libcecutil/Makefile.am
@@ -15,7 +15,7 @@ cec-log.cpp: cec-log-gen.h
 cec-parse.cpp: cec-parse-gen.h cec-parse-src-gen.h
 
 cec-msgs-gen.h cec-log-gen.h cec-parse-src-gen.h cec-parse-gen.h: cec-gen.pl 
$(CEC_GEN_PREREQS)
-       $(top_srcdir)/utils/libcecutil/cec-gen.pl $@ $(CEC_GEN_PREREQS) >$@
+       $(top_srcdir)/utils/libcecutil/cec-gen.pl $@ $(CEC_GEN_PREREQS) >$@ || 
rm $@
 
 clean-local:
        -rm -vf cec-log-gen.h cec-parse-gen.h cec-parse-src-gen.h 
cec-table-gen.h

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to