]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.43
authorfred <fred>
Sun, 24 Mar 2002 19:35:30 +0000 (19:35 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:35:30 +0000 (19:35 +0000)
bin/Makefile
bin/release [new file with mode: 0755]

index c1c076781183d73a953d2074a7690bf69b23e1b2..7284a0b5ffd02a85e8d5b2cb257090d8050fcde4 100644 (file)
@@ -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 (executable)
index 0000000..faec64d
--- /dev/null
@@ -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