update-common: generate autogen.sh from template for selected modules
authorTim-Philipp Müller <tim@centricular.net>
Sun, 14 Apr 2013 16:17:50 +0000 (17:17 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Sun, 14 Apr 2013 16:17:50 +0000 (17:17 +0100)
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