# 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:
#
# 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