2 ########################################################
4 # WARNING!WARNING!WARNING!WARNING!WARNING!WARNING!
10 ########################################################
11 # project LilyPond -- the musical typesetter
12 # title top level makefile for LilyPond
15 # Copyright (c) 1997 by
16 # Jan Nieuwenhuizen <jan@digicash.com>
17 # Han-Wen Nienhuys <hanwen@stack.nl>
28 include ./$(depth)/make/Version.make
32 include ./$(depth)/make/Variables.make
35 # descent order into subdirectories:
37 SUBDIRS = mf flower lib lily mi2mu \
38 Documentation bin init input tex make
41 # list of distribution files:
43 SCRIPTS = configure configure.in install-sh
44 README_FILES = ANNOUNCE COPYING NEWS README TODO INSTALL.text AUTHORS.text
45 EXTRA_DISTFILES= .dstreamrc .version $(README_FILES) $(SCRIPTS) $(SYMLINKS)
47 # do not dist ./Makefile (is copied from make/Toplevel.make)
48 DISTFILES:=$(EXTRA_DISTFILES)# Makefile $(ALL_SOURCES)
52 # generic targets and rules:
54 include ./$(depth)/make/Targets.make
55 include ./$(depth)/make/Rules.make
60 INSTALL.text: check-doc-deps
62 ln `$(FIND) ./ -name INSTALL.text|head -1` .
65 rm -rf Makefile $(lily-version) $(flower-version) $(mi2mu-version) .b $(build) *~ $(allout) $(allgen) config.cache config.status
70 rm -f $(allexe) core config.cache config.log config.status
71 rm -f $(outdir)/*.{class,html,gif}
74 $(INSTALL) -d $(bindir)
75 $(INSTALL) -m 755 $(allexe) $(bindir)
78 for i in $(allexe); do rm -f $(bindir)/`basename $$i`; done