3 ########################################################
4 # project LilyPond -- the musical typesetter
5 # title top level makefile for LilyPond
8 # Copyright (c) 1997 by
9 # Jan Nieuwenhuizen <jan@digicash.com>
10 # Han-Wen Nienhuys <hanwen@stack.nl>
21 include ./$(depth)/make/Version.make
25 include ./$(depth)/make/Variables.make
28 # descent order into subdirectories:
30 SUBDIRS = bin flower lib lily mf mi2mu debian\
31 Documentation init input tex make mutopia
34 # list of distribution files:
36 SCRIPTS = configure configure.in install-sh aclocal.m4
37 README_FILES = BUGS DEDICATION ANNOUNCE-0.1 ANNOUNCE \
38 COPYING ONEWS NEWS README TODO \
39 INSTALL.txt AUTHORS.txt PATCHES.txt
40 EXTRA_DISTFILES = .dstreamrc mudela-mode.el 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.txt: check-doc-deps check-mf-deps
57 ln `$(FIND) ./ -name INSTALL.txt -print |head -1` .
59 # all machine generated junk resides in out/
61 set -e; for i in `find . -type d -name 'out' -print`; do \
62 rm -f $$i/* $$i/.build; done
64 ( cd flower && rm -f config.cache config.status config.log )
65 rm -f Makefile config.cache config.status config.log
70 rm -f core config.cache config.log config.status
71 rm -f $(outdir)/*.{class,html,gif}
73 Makefile: make/Toplevel.make.in
74 echo '# WARNING WARNING WARNING WARNING' > $@
75 echo '# do not edit! this is generated from make/Toplevel.make.in' >> $@