]> git.donarmstrong.com Git - lilypond.git/blob - make/Toplevel.make.in
b09aa86c7736a7483d3f838977e022438f1691ee
[lilypond.git] / make / Toplevel.make.in
1 # -*-Makefile-*-
2 # title    specific top level makefile for LilyPond  
3
4 # subdir level:
5 #
6 depth = .
7 #
8
9 # descent order into subdirectories:
10 #
11 SUBDIRS = scripts buildscripts  flower lib lily mf mi2mu po debian \
12         Documentation init input tex make mutopia test intl stepmake
13 #
14
15 SCRIPTS = configure aclocal.m4
16 README_FILES = BUGS DEDICATION ANNOUNCE-0.1 ANNOUNCEMENT \
17  COPYING NEWS-0.1 NEWS-0.0 NEWS  TODO
18 README_TXT_FILES = README.txt AUTHORS.txt INSTALL.txt PATCHES.txt
19 IN_FILES := $(wildcard *.in)
20 EXTRA_DIST_FILES = dstreamrc mudela-mode.el vimrc VERSION $(README_FILES)  $(SCRIPTS) $(IN_FILES)
21 NON_ESSENTIAL_DIST_FILES = $(README_TXT_FILES)
22
23
24 # bootstrap stepmake:
25 #
26 include $(depth)/make/Stepmake.make 
27 #
28
29 # list of distribution files:
30 #
31 include $(stepdir)/Toplevel.make
32
33 aclocal.m4: $(stepdir)/../aclocal.m4
34         cp $< $@
35
36 website: examples htmldoc doc++
37
38 examples:
39         $(MAKE) CONFIGSUFFIX='www' -C input WWW
40         $(MAKE) CONFIGSUFFIX='www' -C mutopia WWW
41         tar --exclude='*.dvi' --exclude='*.tex' --exclude='*.ps' -czf $(outdir)/examples.tar.gz  `find input mutopia -type d -name 'out-www' -print`
42
43
44 local-dist: do-top-doc
45
46 $(package-icon):
47         $(MAKE) -C Documentation/pictures icon
48
49
50
51 do-top-doc:
52         -$(MAKE) -C Documentation/topdocs/ README_TOP_FILES="$(README_TXT_FILES)" copy-to-top
53
54 $(README_TXT_FILES): do-top-doc
55
56