"autogen" compilation invoker, generates $HOME/errs.comp-$project
authorshort <>
Tue, 10 Jul 2001 18:40:07 +0000 (18:40 +0000)
committershort <>
Tue, 10 Jul 2001 18:40:07 +0000 (18:40 +0000)
bin/comp [new file with mode: 0755]

diff --git a/bin/comp b/bin/comp
new file mode 100755 (executable)
index 0000000..610bfd5
--- /dev/null
+++ b/bin/comp
@@ -0,0 +1,13 @@
+#! /bin/sh
+where="$PWD"
+project=`basename "$where"`
+set -x
+if [ $# != 0 ];then
+       ./autogen clean
+       cvs update 2>&1|tee $HOME/update
+       ./autogen clean
+       cvs diff 2>&1|tee $HOME/diff
+       fi
+time sh -c "./autogen;make" 2>&1| \
+       grep -v 'warning: inline declaration ignored for function with `\.\.\.'"'"'$'| \
+       tee $HOME/errs.comp-$project