]> git.donarmstrong.com Git - lilypond.git/blob - make/Toplevel.make.in
release: 0.1.58
[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 SUBDIRS = bin flower lib lily mf mi2mu debian\
20         Documentation init input tex make mutopia test
21 include VERSION
22 #
23
24 # descent order into subdirectories:
25 #
26
27 # list of distribution files:
28 #
29 SCRIPTS = configure configure.in aclocal.m4
30 README_FILES = BUGS DEDICATION ANNOUNCE-0.1 ANNOUNCE \
31  COPYING ONEWS NEWS README TODO \
32  INSTALL.txt AUTHORS.txt PATCHES.txt
33 EXTRA_DISTFILES = config.make.in config.hh.in .dstreamrc mudela-mode.el VERSION $(README_FILES) $(SCRIPTS) 
34
35
36
37 # generic targets and rules:
38 #
39 include ./$(depth)/make/Version.make
40 include ./$(depth)/make/Variables.make 
41 include ./$(depth)/make/Targets.make
42 include ./$(depth)/make/Rules.make
43
44 #
45 # override Variables.make:
46 # do not dist ./Makefile (is copied from make/Toplevel.make)
47
48 DISTFILES := $(EXTRA_DISTFILES)
49
50
51
52 localdist: configure
53
54 local-distclean: 
55         rm -f config.hh config.make Makefile config.cache config.status config.log
56
57 local-maintainerclean:
58         rm -f configure
59
60 Makefile: make/Toplevel.make.in
61         chmod +w $@
62         echo '# WARNING WARNING WARNING WARNING' > $@
63         echo '# do not edit! this is generated from make/Toplevel.make.in' >> $@
64         cat $< >> $@
65         chmod -w $@
66