]> git.donarmstrong.com Git - lilypond.git/blob - make/Toplevel.make.in
release: 0.1.57
[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
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 # do not dist ./Makefile (is copied from make/Toplevel.make)
36 DISTFILES:=$(EXTRA_DISTFILES)
37 #
38
39
40 # generic targets and rules:
41 #
42 include ./$(depth)/make/Version.make
43 include ./$(depth)/make/Variables.make 
44 include ./$(depth)/make/Targets.make
45 include ./$(depth)/make/Rules.make
46
47 localdist: configure
48
49 local-distclean: 
50         rm -f config.hh config.make Makefile config.cache config.status config.log
51
52 Makefile: make/Toplevel.make.in
53         chmod +w $@
54         echo '# WARNING WARNING WARNING WARNING' > $@
55         echo '# do not edit! this is generated from make/Toplevel.make.in' >> $@
56         cat $< >> $@
57         chmod -w $@
58