2 # title specific top level makefile for LilyPond
9 # descent order into subdirectories
11 SUBDIRS
= buildscripts scripts flower lily \
13 midi2ly po make intl \
14 debian
$(builddir
)/stepmake \
19 SCRIPTS
= configure aclocal.m4
20 README_FILES
= DEDICATION COPYING NEWS CHANGES ROADMAP
21 README_TXT_FILES
= AUTHORS.txt README.txt INSTALL.txt FAQ.txt
22 IN_FILES
:= $(wildcard *.in
)
23 EXTRA_DIST_FILES
= lilypond-font-lock.el lilypond-mode.el vimrc VERSION
$(README_FILES
) $(SCRIPTS
) $(IN_FILES
) emacsclient.patch
24 NON_ESSENTIAL_DIST_FILES
= $(README_TXT_FILES
)
25 INSTALLATION_DIR
=$(datadir)
26 INSTALLATION_FILES
=$(configuration
) VERSION
30 STEPMAKE_TEMPLATES
=toplevel po
install
31 include $(depth
)/make
/stepmake.make
35 $(footify
) --index
=.
/ `$(FIND) . -maxdepth 1 -name '*.html' -print`
36 $(footify-all-command
)
39 $(MAKE
) -C
$(depth
)/mf
42 $(MAKE
) -C Documentation
45 $(MAKE
) out
=www
-C Documentation WWW
48 # KPATHSEA=0: Hack for compiling without kpathsea -- not recommended
49 my_tfm_path
= $(TFM_PATH
) /tmp
/tmp
/tmp
/tmp
/tmp
/tmp
55 $(foreach i
, 1 2 3 4 5, rm -f
$(datadir)/tfm.
$(i
); $(LN_S
) $(word $(i
), $(my_tfm_path
)) $(datadir)/tfm.
$(i
) ; )
59 TOP_HTMLS
= index.html short-examples.html long-examples.html
64 $(MAKE
) out
=www
-C input WWW
65 $(PYTHON
) $(buildscript-dir
)/mutopia-index.py
-o short-examples.html input
/
69 $(MAKE
) out
=www
-C mutopia WWW
70 $(PYTHON
) $(buildscript-dir
)/mutopia-index.py
-o long-examples.html mutopia
/
72 lily
: lily
/$(outdir
)/lilypond
74 lily
/$(outdir
)/lilypond
:
77 local-web
: fonts lily
$(TOP_HTMLS
:%.html
=%) footify do-top-doc top-web
80 rm -f
`find . -name \*.html~ -print`
81 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' > $(outdir
)/weblist
82 ls
*.png
*.html
>> $(outdir
)/weblist
83 cat
$(outdir
)/weblist |
tar -czf
$(outdir
)/web.
tar.gz
-T
-
89 local-WWW-clean
: top-WWW-clean
92 $(MAKE
) -C Documentation WWW-clean
93 $(MAKE
) -C input WWW-clean
94 $(MAKE
) -C mutopia WWW-clean
98 $(SHELL
) $(buildscript-dir
)/clean-fonts.sh