From 61e1c1172158f6ba439d9e5ac4268bdeaa290d67 Mon Sep 17 00:00:00 2001 From: Michael Krufky Date: Thu, 23 Mar 2006 22:02:58 -0500 Subject: report ivtv svn revision when using 'make ivtv' virtual merge build method From: Michael Krufky This is what I should have done in the first place. BEFORE: ivtv: version 0.7.0 (v4l-dvb + ivtv virtual merge) loading AFTER: ivtv: version 0.7.0 (v4l-dvb + ivtv virtual merge) Revision: 3207 loading Signed-off-by: Michael Krufky --- v4l/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'v4l') diff --git a/v4l/Makefile b/v4l/Makefile index fd757e928..ab94f891f 100644 --- a/v4l/Makefile +++ b/v4l/Makefile @@ -375,7 +375,9 @@ ivtv-links:: ivtv-checkout @find ivtv/i2c-drivers -name '*.[ch]' -type f -exec ln -sf '{}' . \; ivtv:: ivtv-links - @echo '#define IVTV_DRIVER_VERSION_COMMENT "(v4l-dvb + ivtv virtual merge)"' > ivtv-svnversion.h + @echo '#define IVTV_DRIVER_VERSION_COMMENT ' \ + '"(v4l-dvb + ivtv virtual merge)' \ + "`svn info ivtv | grep Revision`"'"' > ivtv-svnversion.h @echo ivtv trunk merged. Run make to build the entire tree. cx88-ivtv:: -- cgit v1.2.3