]> git.donarmstrong.com Git - lilypond.git/blobdiff - Makefile
release: 0.0.42
[lilypond.git] / Makefile
index bbbf5763ce0782af59f53e0f53e6c37b8e5b2a5c..9c9f9b7737840bfcfc6b763183599a4dfc79319e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ 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
+build = ./$(depth)/lily/$(outdir)/.build
 #
 
 # generic variables:
@@ -40,14 +40,32 @@ SUBDIRS = flower lib lily mi2mu \
 # list of distribution files:
 #
 # SYMLINKS = # naah, configure
-SCRIPTS = configure
-README_FILES = ANNOUNCE COPYING INSTALL NEWS README TODO
+SCRIPTS = configure configure.in install-sh
+README_FILES = ANNOUNCE COPYING NEWS README TODO INSTALL.text
 DISTFILES= Makefile .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: Documentation
+       rm -f INSTALL.text
+       $(MAKE) -C Documentation
+       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