View | Details | Raw Unified
Collapse All | Expand All

(-) lilypond-1.8.1/autogen.sh (-1 / +1 lines)
 Lines 23-29    Link Here 
# If you have such a setup, invoke this script as:
# If you have such a setup, invoke this script as:
#   autoconf=autoconf2.50 ./autogen.sh
#   autoconf=autoconf2.50 ./autogen.sh
for i in autoconf2.50 autoconf-2.50 autoconf  false; do
for i in autoconf2.50 autoconf-2.50 autoconf  false; do
  version=`$i --version 2>/dev/null | head -1 | awk '{print $NF}' | awk -F. '{print $1 * 100 + $2}'`
  version=`$i --version 2>/dev/null | head -n 1 | awk '{print $NF}' | awk -F. '{print $1 * 100 + $2}'`
  if test "0$version" -ge 250; then
  if test "0$version" -ge 250; then
    autoconf=$i
    autoconf=$i
    break
    break
(-) lilypond-1.8.1/buildscripts/mf-to-xpms.sh (-1 / +1 lines)
 Lines 21-27    Link Here 
	gftopk out/$font.${RESOLUTION}gf out/$font.${RESOLUTION}pk
	gftopk out/$font.${RESOLUTION}gf out/$font.${RESOLUTION}pk
fi
fi
# num=`grep "^C *[0-9]*;" $afm | tail -1 | sed "s!^C *\([^;]*\).*!\\1!"`
# num=`grep "^C *[0-9]*;" $afm | tail -n 1 | sed "s!^C *\([^;]*\).*!\\1!"`
# num=66
# num=66
# tex=out/$font.tex
# tex=out/$font.tex
# cat > $tex <<EOF
# cat > $tex <<EOF
(-) lilypond-1.8.1/stepmake/aclocal.m4 (-3 / +3 lines)
 Lines 11-23    Link Here 
    ## command -v doesn't work in zsh
    ## command -v doesn't work in zsh
    ## command -v "$1" 2>&1
    ## command -v "$1" 2>&1
    ## this test should work in ash, bash, pdksh (ksh), zsh
    ## this test should work in ash, bash, pdksh (ksh), zsh
    type -p "$1" 2>/dev/null | tail -1 | awk '{print $NF}'
    type -p "$1" 2>/dev/null | tail -n 1 | awk '{print $NF}'
])
])
# Get version string from executable ($1)
# Get version string from executable ($1)
AC_DEFUN(STEPMAKE_GET_VERSION, [
AC_DEFUN(STEPMAKE_GET_VERSION, [
    ## "$1" --version 2>&1 | grep -v '^$' | head -1 | awk '{print $NF}'
    ## "$1" --version 2>&1 | grep -v '^$' | head -n 1 | awk '{print $NF}'
    ##
    ##
    ## ARG.
    ## ARG.
    ## Workaround for broken Debian gcc version string:
    ## Workaround for broken Debian gcc version string:
 Lines 28-34    Link Here 
    ## Assume, and hunt for, dotted version multiplet.
    ## Assume, and hunt for, dotted version multiplet.
    changequote(<<, >>)dnl
    changequote(<<, >>)dnl
    ("$1" --version || "$1" -V) 2>&1 | grep '[0-9]\.[0-9]' | head -1 | \
    ("$1" --version || "$1" -V) 2>&1 | grep '[0-9]\.[0-9]' | head -n 1 | \
	sed -e 's/.*[^-.0-9]\([0-9][0-9]*\.[0-9][.0-9]*\).*/\1/'
	sed -e 's/.*[^-.0-9]\([0-9][0-9]*\.[0-9][.0-9]*\).*/\1/'
    changequote([, ])dnl
    changequote([, ])dnl
])
])
(-) lilypond-1.8.1/stepmake/autogen.sh (-1 / +1 lines)
 Lines 23-29    Link Here 
# If you have such a setup, invoke this script as:
# If you have such a setup, invoke this script as:
#   autoconf=autoconf2.50 ./autogen.sh
#   autoconf=autoconf2.50 ./autogen.sh
for i in autoconf2.50 autoconf-2.50 autoconf  false; do
for i in autoconf2.50 autoconf-2.50 autoconf  false; do
  version=`$i --version 2>/dev/null | head -1 | awk '{print $NF}' | awk -F. '{print $1 * 100 + $2}'`
  version=`$i --version 2>/dev/null | head -n 1 | awk '{print $NF}' | awk -F. '{print $1 * 100 + $2}'`
  if test "0$version" -ge 250; then
  if test "0$version" -ge 250; then
    autoconf=$i
    autoconf=$i
    break
    break
(-) lilypond-1.8.1/stepmake/bin/stepmakeise.sh (-1 / +1 lines)
 Lines 54-60    Link Here 
		echo "$name: huh 2?"
		echo "$name: huh 2?"
		exit 1
		exit 1
	fi
	fi
	LATEST=`cd $reldir; ls -t1 stepmake-*.tar.gz | head -1 | sed 's!stepmake-!!' | sed 's!.tar.gz!!'`
	LATEST=`cd $reldir; ls -t1 stepmake-*.tar.gz | head -n 1 | sed 's!stepmake-!!' | sed 's!.tar.gz!!'`
	# urg
	# urg
	latest=`echo $LATEST | sed 's/\.[a-zA-Z][a-zA-Z]*[0-9]*$//'`
	latest=`echo $LATEST | sed 's/\.[a-zA-Z][a-zA-Z]*[0-9]*$//'`
	latest_val=`value $latest`
	latest_val=`value $latest`
(-) lilypond-1.8.1/stepmake/stepmake/automatically-generated.sub.make (-1 / +1 lines)
 Lines 3-9    Link Here 
default:
default:
	-chmod +w $(OUTFILE)
	-chmod +w $(OUTFILE)
	head -1 $(INFILE) > $(OUTFILE)
	head -n 1 $(INFILE) > $(OUTFILE)
	echo "$(LINECOMMENT) WARNING WARNING WARNING" >> $(OUTFILE)
	echo "$(LINECOMMENT) WARNING WARNING WARNING" >> $(OUTFILE)
	echo "$(LINECOMMENT) do not edit! this is $(OUTFILE), generated from $(INFILE)" >> $(OUTFILE)
	echo "$(LINECOMMENT) do not edit! this is $(OUTFILE), generated from $(INFILE)" >> $(OUTFILE)
	cat $(INFILE) >> $(OUTFILE)
	cat $(INFILE) >> $(OUTFILE)