2 # title specific top level makefile for LilyPond
9 # descent order into subdirectories:
11 SUBDIRS
= buildscripts scripts flower lily mf midi2ly po \
12 Documentation ly input
tex make intl ps scm \
13 debian
$(builddir
)/stepmake \
17 SCRIPTS
= configure aclocal.m4
18 README_FILES
= DEDICATION COPYING NEWS CHANGES ROADMAP
19 README_TXT_FILES
= AUTHORS.txt README.txt INSTALL.txt FAQ.txt
20 IN_FILES
:= $(wildcard *.in
)
21 EXTRA_DIST_FILES
= lilypond-font-lock.el lilypond-mode.el vimrc VERSION
$(README_FILES
) $(SCRIPTS
) $(IN_FILES
) emacsclient.patch
22 NON_ESSENTIAL_DIST_FILES
= $(README_TXT_FILES
)
23 INSTALLATION_DIR
=$(datadir)
24 INSTALLATION_FILES
=$(configuration
) VERSION
28 STEPMAKE_TEMPLATES
=toplevel po
install
29 include $(depth
)/make
/stepmake.make
33 $(footify
) --index
=.
/ `$(FIND) . -maxdepth 1 -name '*.html' -print`
34 $(footify-all-command
)
37 $(MAKE
) -C
$(depth
)/mf out
40 $(MAKE
) -C Documentation
43 $(MAKE
) out
=www
-C Documentation WWW
46 # KPATHSEA=0: Hack for compiling without kpathsea -- not recommended
47 my_tfm_path
= $(TFM_PATH
) /tmp
/tmp
/tmp
/tmp
/tmp
/tmp
53 $(foreach i
, 1 2 3 4 5, rm -f
$(datadir)/tfm.
$(i
); $(LN_S
) $(word $(i
), $(my_tfm_path
)) $(datadir)/tfm.
$(i
) ; )
57 TOP_HTMLS
= index.html short-examples.html long-examples.html
62 $(MAKE
) out
=www
-C input WWW
63 $(PYTHON
) $(buildscript-dir
)/mutopia-index.py
-o short-examples.html input
/
67 $(MAKE
) out
=www
-C mutopia WWW
68 $(PYTHON
) $(buildscript-dir
)/mutopia-index.py
-o long-examples.html mutopia
/
70 lily
: lily
/$(outdir
)/lilypond
72 lily
/$(outdir
)/lilypond
:
75 local-web
: fonts lily
$(TOP_HTMLS
:%.html
=%) footify top-web
78 rm -f
`find . -name \*.html~ -print`
79 find
`find Documentation input mutopia *.png index.html -type d -name 'out-www'` -not
-name
'*dvi' -not
-name
'*ly' -not
-name
'*tex' -not
-name
'*.ps' -not
-name
'out-www' |
tar -czf
$(outdir
)/web.
tar.gz
-T
-
85 local-WWW-clean
: top-WWW-clean
88 $(MAKE
) -C Documentation WWW-clean
89 $(MAKE
) -C input WWW-clean
90 $(MAKE
) -C mutopia WWW-clean
94 $(SHELL
) $(buildscript-dir
)/clean-fonts.sh