lilypond-1.1.43
[lilypond.git] / make / Toplevel.make.in
blobb09aa86c7736a7483d3f838977e022438f1691ee
1 # -*-Makefile-*-
2 # title specific top level makefile for LilyPond
4 # subdir level:
6 depth = .
9 # descent order into subdirectories:
11 SUBDIRS = scripts buildscripts flower lib lily mf mi2mu po debian \
12 Documentation init input tex make mutopia test intl stepmake
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)
24 # bootstrap stepmake:
26 include $(depth)/make/Stepmake.make
29 # list of distribution files:
31 include $(stepdir)/Toplevel.make
33 aclocal.m4: $(stepdir)/../aclocal.m4
34 cp $< $@
36 website: examples htmldoc doc++
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`
44 local-dist: do-top-doc
46 $(package-icon):
47 $(MAKE) -C Documentation/pictures icon
51 do-top-doc:
52 -$(MAKE) -C Documentation/topdocs/ README_TOP_FILES="$(README_TXT_FILES)" copy-to-top
54 $(README_TXT_FILES): do-top-doc