5 # project LilyPond -- the musical typesetter
6 # title top level makefile for LilyPond
9 # Copyright (c) 1997 by
10 # Jan Nieuwenhuizen <jan@digicash.com>
11 # Han-Wen Nienhuys <hanwen@stack.nl>
12 # ...your sort order here, or how to comment-out a comment
23 include ./$(depth)/make/Version.make
27 include ./$(depth)/make/Variables.make
30 # descent order into subdirectories:
32 SUBDIRS = flower lib lily mi2mu \
33 Documentation bin init input tex make
36 # list of distribution files:
38 SCRIPTS = configure configure.in install-sh
39 README_FILES = ANNOUNCE COPYING NEWS README TODO INSTALL.text
40 EXTRA_DISTFILES= .dstreamrc .version $(README_FILES) $(SCRIPTS) $(SYMLINKS)
42 # do not dist ./Makefile (is copied from make/Toplevel.make)
43 DISTFILES:=$(EXTRA_DISTFILES)# Makefile $(ALL_SOURCES)
47 # generic targets and rules:
49 include ./$(depth)/make/Targets.make
50 include ./$(depth)/make/Rules.make
55 INSTALL.text: check-doc-deps
57 ln `find -name INSTALL.text|head -1` .
60 rm -rf Makefile $(lily-version) $(flower-version) $(mi2mu-version) .b $(build) *~ $(allout) $(allgen) config.cache config.status
65 rm -f $(allexe) core config.cache config.log config.status
66 rm -f $(outdir)/*.{class,html,gif}
69 $(INSTALL) -d $(bindir)
70 $(INSTALL) -m 755 $(allexe) $(bindir)
73 for i in $(allexe); do rm -f $(bindir)/`basename $$i`; done