update-common: generate autogen.sh from template for selected modules
[platform/upstream/gst-common.git] / update-common
index 8deff28..d6c7fd5 100755 (executable)
@@ -72,6 +72,19 @@ do
   echo updating common from $ref_from to $ref_to
   if [ "$ref_from" != "$ref_to" ] ; then
     cd $dir/$module
+    # update autogen.sh for selected modules
+    case $module in
+      gstreamer)
+      gst-plugins-base)
+      gst-plugins-good)
+      gst-plugins-ugly)
+      gst-plugins-bad)
+        ./common/update-autogen
+        git add autogen.sh
+        ;;
+      *)
+        ;;
+    esac
     git add common
     git commit -m "Automatic update of common submodule