]> git.donarmstrong.com Git - lilypond.git/blob - make/Toplevel.make.in
release: 0.0.76
[lilypond.git] / make / Toplevel.make.in
1 # -*-Makefile-*-
2 ########################################################
3 # project  LilyPond -- the musical typesetter
4 # title    top level makefile for LilyPond  
5 # file     Makefile 
6 #
7 # Copyright (c) 1997 by    
8 #       Jan Nieuwenhuizen <jan@digicash.com>
9 #       Han-Wen Nienhuys <hanwen@stack.nl>
10
11 # subdir level:
12 #
13 depth = .
14 #
15
16 # identify module:
17 #
18 NAME = lilypond
19 include .version
20 include ./$(depth)/make/Version.make
21
22 # generic variables:
23 #
24 include ./$(depth)/make/Variables.make 
25 #
26
27 # descent order into subdirectories:
28 #
29 SUBDIRS = flower lib lily mi2mu \
30         Documentation bin init input tex make
31 #
32
33 # list of distribution files:
34 #
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)
38
39 # do not dist ./Makefile (is copied from make/Toplevel.make)
40 DISTFILES:=$(EXTRA_DISTFILES)# Makefile $(ALL_SOURCES)
41 #
42
43
44 # generic targets and rules:
45 #
46 include ./$(depth)/make/Targets.make
47 include ./$(depth)/make/Rules.make
48 #
49
50 localdist: configure
51
52 INSTALL.text: check-doc-deps
53         rm -f INSTALL.text
54         ln `$(FIND) ./ -name INSTALL.text|head -1` .
55
56 localdistclean:
57         rm -rf Makefile $(lily-version) $(flower-version) $(mi2mu-version) .b $(build) *~ $(allout) $(allgen) config.cache config.status
58
59
60
61 localclean:
62         rm -f core config.cache config.log config.status 
63         rm -f $(outdir)/*.{class,html,gif}
64
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' >> $@
68         cat $< >> $@
69