Merge CV, ver=5.1; ops/methods from HV, and interface from CV where possible
[goodguy/history.git] / cinelerra-5.1 / build / bld_incremental.sh
diff --git a/cinelerra-5.1/build/bld_incremental.sh b/cinelerra-5.1/build/bld_incremental.sh
new file mode 100755 (executable)
index 0000000..1d98252
--- /dev/null
@@ -0,0 +1,26 @@
+#!/bin/bash
+
+dir="$1"
+path="/home"
+bld="google_code"
+proj="cinelerra"
+base="cinelerra-4.6.mod"
+
+if [ ! -d "$path/$dir/$bld/$proj" ]; then
+  echo "$bld/$proj missing in $path/$dir"
+  exit 1
+fi
+
+cd "$path/$dir/$bld/$proj"
+git pull
+if [ $? -ne 0 ]; then
+  echo "git pull $bld/$proj failed"
+  exit 1
+fi
+
+cd "$base"
+make rebuild_all >& log1
+
+echo "finished: scanning log for ***"
+grep -a "\*\*\*" log1
+