From 65f714a169d5011b5d668ce2cd0e69d138a8f242 Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 24 Mar 2002 19:35:30 +0000 Subject: [PATCH] lilypond-0.0.43 --- bin/Makefile | 8 +++----- bin/release | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 5 deletions(-) create mode 100755 bin/release diff --git a/bin/Makefile b/bin/Makefile index c1c0767811..7284a0b5ff 100644 --- a/bin/Makefile +++ b/bin/Makefile @@ -5,16 +5,14 @@ depth = .. # -build = ./$(depth)/lily/$(outdir)/.build - +include ./$(depth)/make/Include.make # generic stuff/Makefile # -include ./$(depth)/make/Stuff.make # # list of distribution files: # -SCRIPTS = clearlily cpgento genheader make_patch make_version make_website -DISTFILES = Makefile $(SCRIPTS) +SCRIPTS = clearlily cpgento genheader make_patch make_version make_website release +EXTRA_DISTFILES = $(SCRIPTS) # diff --git a/bin/release b/bin/release new file mode 100755 index 0000000000..faec64d8fd --- /dev/null +++ b/bin/release @@ -0,0 +1,36 @@ +#!/bin/sh + + +function setversion() { +eval `sed -n 's/^\([A-Z_]*\) *= *\(.*\)$/\1=\2/p' .version` +MJ=$TOPLEVEL_MAJOR_VERSION +MI=$TOPLEVEL_MINOR_VERSION +PA=$TOPLEVEL_PATCH_LEVEL +MP=$TOPLEVEL_MY_PATCH_LEVEL +NEWVER=$MJ.$MI.$PA$MP +if [ -z $MP ] +then + LASTVER=$MJ.$MI.`expr $PA - 1` +else + LASTVER=$MJ.$MI.$PA +fi + +echo +echo "Current version ("`pwd`") is $NEWVER, Last version: $LASTVER" +echo +} +heredir=`pwd` + make dist; + setversion + LILYVER=$NEWVER + cp lilypond-$LILYVER.tar.gz ../releases + $heredir/bin/make_patch $LASTVER $NEWVER lilypond + gzip -f9 patch-$NEWVER + mv {lilypond-,patch-}*.gz ../ +cd .. +tar cf updeet {lily,patch-}*.gz + +mv patch-*gz patches/ +mv lilypond*tar.gz releases/ + +#time make -- 2.39.5