variable.
* GNUmakefile.in: Forward port: Add toplevel target install-html-doc.
Bugfixes for --srcdir html-doc build.
* make/lilypond-vars.make (LILYPOND_BOOK_INCLUDES): Forward port:
Bugfix: Include $(builddir)/mf/out (was $(srcdir)/mf/out.
+2002-06-11 Jan Nieuwenhuizen <janneke@gnu.org>
+
+ * buildscripts/mutopia-index.py (headertext_nopics): Add missing
+ variable.
+
+ * Documentation/windows/lilypond.hint: Renamed (previously setup.hint).
+
+ * Documentation/windows/lilypond-doc.hint: New file.
+
+ * GNUmakefile.in: Forward port: Add toplevel target install-html-doc.
+ Bugfixes for --srcdir html-doc build.
+
+ * make/lilypond-vars.make (LILYPOND_BOOK_INCLUDES): Forward port:
+ Bugfix: Include $(builddir)/mf/out (was $(srcdir)/mf/out.
+
2002-06-10 Han-Wen <hanwen@cs.uu.nl>
* ly/script-init.ly (pralldown): add some scripts.
depth=../..
-EXTRA_DIST_FILES = LilyPond.ico $(wildcard *.sh *.patch) setup.hint
+EXTRA_DIST_FILES = LilyPond.ico $(wildcard *.sh *.patch *.hint)
STEPMAKE_TEMPLATES=documentation texinfo install install-out
cp -pv setup.exe $CYGWIN/dist/cygwin-1.3.6/new-setup.exe
strip $CYGWIN/dist/cygwin-1.3.6/new-setup.exe
@end example
+
+@ignore
+new setup:
+
+
+@end ignore
@end quotation
@item @var{--prefix=/usr/lilypond-x.y.x}
The standard binary installation installs LilyPond into its own prefix.
$(footify) --index=./ `$(FIND) . -maxdepth 1 -name '*.html' -print`
$(footify-all-command)
-
fonts:
$(MAKE) -C $(depth)/mf
doc: lily fonts
$(MAKE) -C Documentation
-web-doc: pfa-fonts
+web-doc: pfa-fonts
$(MAKE) out=www -C Documentation WWW
$(MAKE) footify
+pfa-fonts:
+ $(MAKE) MAKE_PFA_FILES=1 -C mf
+
+docdir = $(prefix)/share/doc/lilypond-$(TOPLEVEL_VERSION)
+install-html-doc: html-doc
+ $(INSTALL) -d $(docdir)/html
+ tar -C $(docdir)/html -zxf $(outdir)/web.tar.gz
+
# KPATHSEA=0: Hack for compiling without kpathsea -- not recommended
my_tfm_path = $(TFM_PATH) /tmp /tmp /tmp /tmp /tmp /tmp
local-install:
- mkdir -p $(datadir)
+ $(INSTALL) -d $(datadir)
ifeq ($(KPATHSEA),0)
$(foreach i, 1 2 3 4 5, rm -f $(datadir)/tfm.$(i); $(LN_S) $(word $(i), $(my_tfm_path)) $(datadir)/tfm.$(i) ; )
endif
TOP_HTMLS = index.html short-examples.html long-examples.html
-index: web-doc
-
short-examples: pfa-fonts
$(MAKE) out=www -C input WWW
$(PYTHON) $(buildscript-dir)/mutopia-index.py -o short-examples.html input/
$(MAKE) out=www -C mutopia WWW
$(PYTHON) $(buildscript-dir)/mutopia-index.py -o long-examples.html mutopia/
-pfa-fonts:
- $(MAKE) MAKE_PFA_FILES=1 -C mf
-
lily: lily/$(outdir)/lilypond
lily/$(outdir)/lilypond:
local-web: fontpaths fonts lily $(TOP_HTMLS:%.html=%) footify do-top-doc top-web
top-web:
- rm -f `find . -name \*.html~ -print`
- find `find Documentation input mutopia *.png index.html -type d -name 'out-www'` \
+ cd $(builddir) && rm -f `find . -name \*.html~ -print`
+ cd $(builddir) && find `find Documentation input mutopia -type d -name 'out-www'` \
-not -name '*.dvi' -not -name '*ly' -not -name '*.tex' \
-not -name '*.ps' -not -name '*.eps' -not -name '*pk' \
-not -name '*.aux' -not -name '*.cp' -not -name '*.fn' \
-not -name '*.pg' -not -name '*.tmp' -not -name '*.toc' \
-not -name '*.fns' -not -name '*.cps' -not -name '*.nexi' \
-not -name '*.texi' -not -name '*.texidoc' -not -name '*.tp' \
+ -not -name '*.pdfps' -not -name '*.eps.bbox' \
-not -name '*.log' -not -name 'out-www' -not -name '*.dep' \
> $(outdir)/weblist
- ls *.png *.html >> $(outdir)/weblist
- cat $(outdir)/weblist | GZIP=-9v tar -czf $(outdir)/web.tar.gz -T -
+ cd $(builddir) && ls *.png *.html >> $(outdir)/weblist
+ cat $(outdir)/weblist | (cd $(builddir); GZIP=-9v tar -czf $(outdir)/web.tar.gz -T -)
#WWW: local-WWW
+html-doc: local-web
web: local-web
+index: local-web
local-WWW-clean: top-WWW-clean
the postscript files.
"""
+headertext_nopics= r"""
+<p>Nothing to be seen here, move along.
+"""
#
# FIXME breaks on multiple strings.
#(set! chord::names-alist-american
(append
'(
- any changes here, see scm/chord-name.scm
-
+ ;; any changes here, see scm/chord-name.scm
)
chord::names-alist-american))
CONVERT_LY = $(script-dir)/convert-ly.py
LILYPOND = $(depth)/$(builddir)/lily/$(outconfbase)/lilypond
LILYPOND_BOOK = $(script-dir)/lilypond-book.py
-LILYPOND_BOOK_INCLUDES = -I $(pwd) -I $(outdir) -I$(input-dir) -I $(input-dir)/tricks/ -I $(input-dir)/regression/ -I $(input-dir)/test/ -I $(input-dir)/tutorial/ -I $(topdir)/mf/out -I $(topdir)/mf/$(outdir)/
+LILYPOND_BOOK_INCLUDES = -I $(pwd) -I $(outdir) -I$(input-dir) -I $(input-dir)/tricks/ -I $(input-dir)/regression/ -I $(input-dir)/test/ -I $(input-dir)/tutorial/ -I $(depth)/$(builddir)/mf/out -I $(depth)/$(builddir)/mf/$(outdir)/
LY2DVI = $(script-dir)/ly2dvi.py
LYS_TO_TELY = $(buildscript-dir)/lys-to-tely.py
PS_TO_GIFS = $(buildscript-dir)/ps-to-gifs.sh
endif
-export MFINPUTS:=.:$(MFINPUTS)
-
-default: $(ALL_GEN_FILES)
-
$(outdir)/lilypond.map:
echo $(FONT_FILES:.mf=) | tr ' ' '\n' | \
sed 's/\(.*\)/\1 \1 <\1.pfa/' > $@
$(outdir)/fonts.scale:
echo $(FONT_FILES:.mf=.pfa) | $(PYTHON) $(topdir)/buildscripts/make-font-dir.py > $@
+
+export MFINPUTS:=.:$(MFINPUTS)
+
+default: $(ALL_GEN_FILES)
+
##
## todo: this also depends on .tfm, FIXME.
$(outdir)/%.afm $(outdir)/%.enc $(outdir)/%.tex $(outdir)/%.dep: $(outdir)/%.log
mv $(basename $(@F)).pfa $(outdir)
$(outdir)/%.pfb: %.mf
- pktrace -I $(outdir)/ --pfb --simplify --keep-trying $(basename $(@F))
+ pktrace -I $(outdir)/ --pfb --simplify --keep-trying $(basename $(@F))
mv $(basename $(@F)).pfb $(outdir)
#%.afm:
copy-to-top: $(TO_TOP_FILES)
$(foreach i, $(TO_TOP_FILES), \
- cp $(i) $(depth)/ && ) true
- -cp $(outdir)/*png $(outdir)/index.html $(depth) # don't fail if not making website
+ cp $(i) $(depth)/$(builddir) && ) true
+ -cp $(outroot)/out-www/*png $(outroot)/out-www/index.html $(depth)/$(builddir)
+ -cp $(outdir)/*png $(outdir)/index.html $(depth)/$(builddir) # don't fail when not making website
local-WWW: $(HTML_FILES) copy-to-top
# we want footers even if website builds (or is built) partly