diff options
author | Zoltan Varga <vargaz@gmail.com> | 2008-09-29 18:47:38 +0400 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2008-09-29 18:47:38 +0400 |
commit | 14e5dffb0035c145af2a8010030f99641ec84987 (patch) | |
tree | b0720677c4227a9e2971b5d126ed8085986040d4 /scripts | |
parent | 8b7f8e434d8a0530290cf21e2d7b30cbbd24647e (diff) |
2008-09-29 Zoltan Varga <vargaz@gmail.com>
* scripts/patch-quiet.sh: Handle the ifs used by some versions of
automake.
svn path=/trunk/mono/; revision=114403
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/patch-quiet.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/patch-quiet.sh b/scripts/patch-quiet.sh index 6513c68f1e6..a2fc34e0f5d 100755 --- a/scripts/patch-quiet.sh +++ b/scripts/patch-quiet.sh @@ -19,14 +19,14 @@ fi echo "# Postprocessed with patch-quiet.sh" > $src.tmp && cat $src >> $src.tmp && cp $src.tmp $src && rm -f $src.tmp # compile -sed -e 's/^\t$(COMPILE)/\t$(if $(V),,@echo -e "CC\\t$@";) $(COMPILE)/g' < $src > $src.tmp && cp $src.tmp $src && rm -f $src.tmp -sed -e 's/^\t$(LTCOMPILE)/\t$(if $(V),,@echo -e "CC\\t$@";) $(LTCOMPILE)/g' < $src > $src.tmp && cp $src.tmp $src && rm -f $src.tmp +sed -e 's/^\t\(if \)\?$(COMPILE)/\t$(if $(V),,@echo -e "CC\\t$@";) \1$(COMPILE)/g' < $src > $src.tmp && cp $src.tmp $src && rm -f $src.tmp +sed -e 's/^\t\(if \)\?$(LTCOMPILE)/\t$(if $(V),,@echo -e "CC\\t$@";) \1$(LTCOMPILE)/g' < $src > $src.tmp && cp $src.tmp $src && rm -f $src.tmp # link # automake defines multiple symbols ending with LINK sed -e 's/^\t$(\(.*LINK\))/\t$(if $(V),,@echo -e "LD\\t$@";) $(\1)/g' < $src > $src.tmp && cp $src.tmp $src && rm -f $src.tmp #sed -e 's/LINK = $(LIBTOOL)/LINK = $(if $(V),,@echo -e "LD\\t$@";) $(LIBTOOL)/g' < $src > $src.tmp && cp $src.tmp $src && rm -f $src.tmp # CC -sed -e 's/^\t$(CC)/\t$(if $(V),,@echo -e "CC\\t$@";) $(CC)/g' < $src > $src.tmp && cp $src.tmp $src && rm -f $src.tmp +sed -e 's/^\t\(if \)\?$(CC)/\t$(if $(V),,@echo -e "CC\\t$@";) \1$(CC)/g' < $src > $src.tmp && cp $src.tmp $src && rm -f $src.tmp # mv sed -e 's/^\tmv -f/\t$(if $(V),,@)mv -f/g' < $src > $src.tmp && cp $src.tmp $src && rm -f $src.tmp sed -e 's/^am__mv = /&$(if $(V),,@)/' < $src > $src.tmp && cp $src.tmp $src && rm -f $src.tmp |