]> git.donarmstrong.com Git - lilypond.git/blobdiff - Makefile
release: 0.0.42.pre3
[lilypond.git] / Makefile
index b8abfd8b66b5abf1b84ecdb79660b05bd80292ce..7ac03e335c42fc237ff8e70b40f7a20f9db90777 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -16,15 +16,8 @@ depth = .
 # identify module:
 #
 NAME = lilypond
-
-# edit in .version only!
-MAJOR_VERSION = $(TOPLEVEL_MAJOR_VERSION)
-MINOR_VERSION = $(TOPLEVEL_MINOR_VERSION)
-PATCH_LEVEL = $(TOPLEVEL_PATCH_LEVEL)
-# use to send patches, always empty for released version:
-MY_PATCH_LEVEL = $(TOPLEVEL_MY_PATCH_LEVEL)
-build = ./$(depth)/lily/.build
-#
+include .version
+include ./$(depth)/make/Version.make
 
 # generic variables:
 #
@@ -33,20 +26,38 @@ include ./$(depth)/make/Variables.make
 
 # descent order into subdirectories:
 #
-SUBDIRS = flower lib lily m2m \
-       Documentation bin init input make tex
+SUBDIRS = flower lib lily mi2mu \
+       Documentation bin init input tex make
 #
 
 # list of distribution files:
 #
-SYMLINKS = configure
-README_FILES = ANNOUNCE COPYING INSTALL NEWS README TODO
-DISTFILES= Makefile .version $(README_FILES) $(SYMLINKS)
+# SYMLINKS = # naah, configure
+SCRIPTS = configure configure.in install-sh
+README_FILES = ANNOUNCE COPYING NEWS README TODO INSTALL.text
+EXTRA_DISTFILES=  .dstreamrc .version $(README_FILES) $(SCRIPTS) $(SYMLINKS)
 #
 
+
 # generic targets and rules:
 #
 include ./$(depth)/make/Targets.make
 include ./$(depth)/make/Rules.make
 #
 
+localdist: configure
+
+# ugh. I know dep is not quite what is really needed.
+INSTALL.text: check-doc-deps
+       rm -f INSTALL.text
+       ln `find -name INSTALL.text|head -1` .
+
+localclean:
+       rm -f $(allexe) core config.cache config.log config.status 
+
+localinstall: all
+       $(INSTALL) -d $(bindir)
+       $(INSTALL) -m 755 $(allexe) $(bindir)
+
+localuninstall:
+       for i in $(allexe); do rm -f $(bindir)/`basename $$i`; done
\ No newline at end of file