2 ########################################################
3 # project LilyPond -- the musical typesetter
4 # title top level makefile for LilyPond
7 # Copyright (c) 1997 by
8 # Jan Nieuwenhuizen <jan@digicash.com>
9 # Han-Wen Nienhuys <hanwen@stack.nl>
20 include ./$(depth)/make/Version.make
24 include ./$(depth)/make/Variables.make
27 # descent order into subdirectories:
29 SUBDIRS = flower lib lily mi2mu \
30 Documentation bin init input tex make
33 # list of distribution files:
35 SCRIPTS = configure configure.in install-sh
36 README_FILES = BUGS DEDICATION ANNOUNCE COPYING NEWS README TODO INSTALL.text AUTHORS.text
37 EXTRA_DISTFILES= .dstreamrc .version $(README_FILES) $(SCRIPTS) $(SYMLINKS)
39 # do not dist ./Makefile (is copied from make/Toplevel.make)
40 DISTFILES:=$(EXTRA_DISTFILES)# Makefile $(ALL_SOURCES)
44 # generic targets and rules:
46 include ./$(depth)/make/Targets.make
47 include ./$(depth)/make/Rules.make
52 INSTALL.text: check-doc-deps
54 ln `$(FIND) ./ -name INSTALL.text|head -1` .
57 rm -rf Makefile $(lily-version) $(flower-version) $(mi2mu-version) .b $(build) *~ $(allout) $(allgen) config.cache config.status
62 rm -f core config.cache config.log config.status
63 rm -f $(outdir)/*.{class,html,gif}
65 Makefile: make/Toplevel.make.in
66 echo '# WARNING WARNING WARNING WARNING' > $@
67 echo '# do not edit! this is generated from make/Toplevel.make.in' >> $@