2005-03-14 Jan Nieuwenhuizen <janneke@gnu.org>
+ * make/ly-rules.make:
+ * stepmake/aclocal.m4:
+ * Documentation/user/GNUmakefile: Remove old makeinfo compatibility.
+
* buildscripts/fixcc.py (rules): Leave space after operator.
2005-03-14 Werner Lemberg <wl@gnu.org>
mkdir -p $(dir $@)
$(MAKEINFO) --output=$(outdir)/lilypond-internals --docbook $<
-ifeq ($(SPLITTING_MAKEINFO),yes)
-
$(outdir)/lilypond.dvi: $(OUT_EPS_IMAGES) $(OUT_PNG_IMAGES)
$(outdir)/%.png: %.png
$(outdir)/lilypond/index.html\
$(outdir)/lilypond-internals/index.html
-else
-
-# Links referred to by Documentation index
-LILYPOND_LINKS=Reference-Manual.html Tutorial.html Ly2dvi.html Midi2ly.html
-
-local-WWW: deep-symlinks
-
-deep-symlinks:
- mkdir -p $(outdir)/lilypond
- cd $(outdir)/lilypond && $(foreach i, $(LILYPOND_LINKS),\
- rm -f $(i) && ln -s lilypond.html $(i) &&) true
-
-endif
-
local-WWW: $(HTML_FILES) $(DEEP_HTML_FILES)\
$(datafiles) $(PDF_FILES) $(PS_GZ_FILES) info info-dir
# without the docs, they can find this comment and use an older
# makeinfo -- but hopefully won't report makeinfo problems.
STEPMAKE_PROGS(MAKEINFO, makeinfo, REQUIRED, 4.7)
-AC_SUBST(MAKEINFO_VERSION)
if test "$optimise_b" = yes; then
rm -f $(outdir)/$*.texi
$(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --output=$(outdir) --format=$(LILYPOND_BOOK_FORMAT) --verbose $(LILYPOND_BOOK_FLAGS) --process='true' $<
mv $(outdir)/$*.texinfo $@ 2>/dev/null || mv $(outdir)/$*.texi $@
-# makeinfo <= 4.6 image bug workaround
- if [ $(MAKEINFO_VERSION) -le 4006000 ]; then \
- (cd $(outdir) && \
- ls -1 lily-*.ly | sed 's/.ly$$/.txt/' | xargs touch) || true; \
- fi
$(outdir)/%.info: $(outdir)/%.nexi
$(MAKEINFO) -I $(outdir) --output=$(outdir)/$(*F).info $<
AC_DEFUN(STEPMAKE_MAKEINFO, [
STEPMAKE_PROGS(MAKEINFO, makeinfo, $1)
- if test "$MAKEINFO" = "makeinfo"; then
- AC_MSG_CHECKING(whether makeinfo can split html by @node)
- mkdir -p out
- makeinfo --html --output=out/split <<EOF
-\input texinfo
-\input texinfo @c -*-texinfo-*-
-@setfilename split.info
-@settitle split.info
-@bye
-EOF
- if test -d out/split; then
- SPLITTING_MAKEINFO=yes
- AC_MSG_RESULT(yes)
- rm -rf out/split
- else
- AC_MSG_RESULT(no)
- STEPMAKE_WARN(your html documentation will be one large file)
- rm -rf out/split
- fi
- fi
- AC_SUBST(SPLITTING_MAKEINFO)
])
-
AC_DEFUN(STEPMAKE_MAN, [
STEPMAKE_PROGS(GROFF, groff ditroff, $1)
AC_SUBST(GROFF)