2 # project LilyPond -- the musical typesetter
3 # title top level makefile for LilyPond
6 # Copyright (c) 1997 by
7 # Jan Nieuwenhuizen <jan@digicash.com>
8 # Han-Wen Nienhuys <hanwen@stack.nl>
9 # ...your sort order here, or how to comment-out a comment
20 # edit in .version only!
21 MAJOR_VERSION = $(TOPLEVEL_MAJOR_VERSION)
22 MINOR_VERSION = $(TOPLEVEL_MINOR_VERSION)
23 PATCH_LEVEL = $(TOPLEVEL_PATCH_LEVEL)
24 # use to send patches, always empty for released version:
25 MY_PATCH_LEVEL = $(TOPLEVEL_MY_PATCH_LEVEL)
26 build = ./$(depth)/lily/$(outdir)/.build
31 include ./$(depth)/make/Variables.make
34 # descent order into subdirectories:
36 SUBDIRS = flower lib lily mi2mu \
37 Documentation bin init input tex make
40 # list of distribution files:
42 # SYMLINKS = # naah, configure
43 SCRIPTS = configure configure.in install-sh
44 README_FILES = ANNOUNCE COPYING NEWS README TODO INSTALL.text
45 DISTFILES= Makefile .dstreamrc .version $(README_FILES) $(SCRIPTS) $(SYMLINKS)
49 # generic targets and rules:
51 include ./$(depth)/make/Targets.make
52 include ./$(depth)/make/Rules.make
57 # ugh. I know dep is not quite what is really needed.
58 INSTALL.text: Documentation
60 $(MAKE) -C Documentation
61 ln `find -name INSTALL.text|head -1` .
64 rm -f $(allexe) core config.cache config.log config.status
67 $(INSTALL) -d $(bindir)
68 $(INSTALL) -m 755 $(allexe) $(bindir)
71 for i in $(allexe); do rm -f $(bindir)/`basename $$i`; done