2 # title specific top level makefile for LilyPond
9 # descent order into subdirectories:
11 SUBDIRS = scripts buildscripts flower lily mf midi2ly po debian \
12 Documentation ly input tex make mutopia intl stepmake\
16 SCRIPTS = configure aclocal.m4
17 README_FILES = DEDICATION COPYING NEWS TODO CHANGES ROADMAP
18 README_TXT_FILES = AUTHORS.txt README.txt INSTALL.txt
19 IN_FILES := $(wildcard *.in)
20 EXTRA_DIST_FILES = dstreamrc lilypond-mode.el vimrc VERSION $(README_FILES) $(SCRIPTS) $(IN_FILES)
21 NON_ESSENTIAL_DIST_FILES = $(README_TXT_FILES)
25 STEPMAKE_TEMPLATES=toplevel yolily-toplevel po
26 include $(depth)/make/stepmake.make
29 website: fonts htmldoc examples doc++
32 $(MAKE) -C $(depth)/mf
36 $(MAKE) CONFIGSUFFIX='www' -C input WWW
37 $(MAKE) CONFIGSUFFIX='www' -C mutopia WWW
38 $(footify-all-command)
39 $(PYTHON) $(buildscripts)/mutopia-index.py -o short-examples.html input/
40 $(PYTHON) $(buildscripts)/mutopia-index.py -o long-examples.html mutopia/
42 tar --exclude='*.dvi' --exclude='*.tex' --exclude='*.ps' --exclude='*.ppm' -czf $(outdir)/examples.tar.gz *-examples.html `find input mutopia -type d -name 'out-www' -print`
46 rm -f $(datadir)/cmtfm
47 $(LN_S) $(TEX_TFMDIR) $(datadir)/cmtfm
50 $(SHELL) $(depth)/buildscripts/clean-fonts.sh