lilypond-0.1.20
[lilypond.git] / make / Toplevel.make.in
blob5de434c16186931b906f3e3307f8d8107b3c2187
1 # -*-Makefile-*-
2 # @configure_input@
3 ########################################################
4 # project LilyPond -- the musical typesetter
5 # title top level makefile for LilyPond
6 # file Makefile
8 # Copyright (c) 1997 by
9 # Jan Nieuwenhuizen <jan@digicash.com>
10 # Han-Wen Nienhuys <hanwen@stack.nl>
12 # subdir level:
14 depth = .
17 # identify module:
19 NAME = lilypond
20 include VERSION
21 include ./$(depth)/make/Version.make
23 # generic variables:
25 include ./$(depth)/make/Variables.make
28 # descent order into subdirectories:
30 SUBDIRS = bin flower lib lily mf mi2mu \
31 Documentation init input tex make
34 # list of distribution files:
36 SCRIPTS = configure configure.in install-sh aclocal.m4
37 README_FILES = BUGS DEDICATION ANNOUNCE COPYING ONEWS NEWS README TODO \
38 INSTALL.text AUTHORS.text
39 EXTRA_DISTFILES = .dstreamrc mudela-mode.el VERSION $(README_FILES) $(SCRIPTS) $(SYMLINKS)
41 # do not dist ./Makefile (is copied from make/Toplevel.make)
42 DISTFILES:=$(EXTRA_DISTFILES)# Makefile $(ALL_SOURCES)
46 # generic targets and rules:
48 include ./$(depth)/make/Targets.make
49 include ./$(depth)/make/Rules.make
52 localdist: configure
54 INSTALL.text: check-doc-deps
55 rm -f INSTALL.text
56 ln `$(FIND) ./ -name INSTALL.text|head -1` .
58 # all machine generated junk resides in out/
59 distclean:
60 set -e; for i in `find -type d -name 'out'`; do \
61 rm -f $$i/*; done
62 rm -rf *-build-dir
63 rm -f Makefile config.cache config.status config.log
67 localclean:
68 rm -f core config.cache config.log config.status
69 rm -f $(outdir)/*.{class,html,gif}
71 Makefile: make/Toplevel.make.in
72 echo '# WARNING WARNING WARNING WARNING' > $@
73 echo '# do not edit! this is generated from make/Toplevel.make.in' >> $@
74 cat $< >> $@