From 20491e476068e69280a8720e60c3f5297fe59ca1 Mon Sep 17 00:00:00 2001 From: short <> Date: Tue, 10 Jul 2001 18:40:07 +0000 Subject: [PATCH] "autogen" compilation invoker, generates $HOME/errs.comp-$project --- bin/comp | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 bin/comp diff --git a/bin/comp b/bin/comp new file mode 100755 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 -- 1.8.3.1