From: fred Date: Fri, 14 Mar 1997 15:28:43 +0000 (+0000) Subject: lilypond-0.0.76 X-Git-Tag: release/1.5.59~6201 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=dffd88d1384097bffeab2fcfd8405142bbbf3fb1;p=lilypond.git lilypond-0.0.76 --- diff --git a/bin/make-version b/bin/make-version new file mode 100755 index 0000000000..29b768c1e8 --- /dev/null +++ b/bin/make-version @@ -0,0 +1,20 @@ +#!/bin/sh + +#shift; +if test "x$1" = x; +then + versionfile=".version" +else + versionfile=$1; +fi + +cat $versionfile| sed 's/#.*$//g'|sed 's/\([^ ]*\)[\t ]*=[ \t]*\([^ ]*\)$/#define \1 \"\2\"/g' +echo +if [ -z $CXX ] +then + COMPILER=unknown +else + COMPILER="$CXX `$CXX --version`" +fi + +echo "#define COMPILER "\"$COMPILER\"