---
 version.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/version.sh b/version.sh
index 6f72b2c..a52c108 100755
--- a/version.sh
+++ b/version.sh
@@ -22,5 +22,6 @@ OLD_REVISION=$(cat version.h 2> /dev/null)
 
 # Update version.h only on revision changes to avoid spurious rebuilds
 if test "$NEW_REVISION" != "$OLD_REVISION"; then
-    echo "$NEW_REVISION" > "$2"
+    echo "/* Automatically generated by $0 - do not modify! */" > "$2"
+    echo "$NEW_REVISION" >> "$2"
 fi
-- 
1.7.2.5

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to