File: automake.fix

package info (click to toggle)
courier-authlib 0.58-4%2Betch3
  • links: PTS
  • area: main
  • in suites: etch
  • size: 16,212 kB
  • ctags: 1,896
  • sloc: ansic: 21,550; sh: 14,071; makefile: 866; perl: 842; cpp: 284
file content (17 lines) | stat: -rw-r--r-- 659 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# $Id: automake.fix,v 1.1 2004/10/21 00:30:18 mrsam Exp $
#
# Get rid of all the 1.6-generated crap on stdout
#

set -x
"$@"
sed 's/if $(COMPILE)/@echo Compiling $< ; if $(COMPILE)/
s/--mode=link/--quiet --mode=link/
s/--mode=compile/--quiet --mode=compile/
s/^	$(LINK)/	@echo Linking $@; $(LINK)/
s/^	$(CXXLINK)/	@echo Linking $@; $(CXXLINK)/
s/if $(LTCOMPILE)/@echo Compiling $< ; if $(LTCOMPILE)/
s/if $(CXXCOMPILE)/@echo Compiling $< ; if $(CXXCOMPILE)/' <${srcdir}/Makefile.in >${srcdir}/Makefile.in.fixed
cmp -s ${srcdir}/Makefile.in.fixed ${srcdir}/Makefile.in ||
	mv ${srcdir}/Makefile.in.fixed ${srcdir}/Makefile.in
rm -f ${srcdir}/Makefile.in.fixed