LOCALSTEPMAKE_TEMPLATES=lilypond ly
-
-TEXINPUTS=$(top-src-dir)/tex::
-export TEXINPUTS
-
include $(depth)/make/stepmake.make
info: $(INFO_FILES)
# Generic rule using % twice not possible?
# $(outdir)/%/%.html: $(outdir)/%.texi
$(outdir)/lilypond.texi: $(outdir)/lilypond-internals.texi
-$(outdir)/lilypond.nexi: $(outdir)/lilypond-internals.texi
#
# Split manuals in HTML
$(MAKE) -C $(top-src-dir)/mf
$(outdir)/lilypond.texi $(outdir)/lilypond-program.texi $(outdir)/lilypond-learning.texi $(outdir)/music-glossary.texi: $(ITELY_FILES) $(ITEXI_FILES)
-$(outdir)/lilypond.nexi $(outdir)/lilypond-program.nexi $(outdir)/lilypond-learning.nexi $(outdir)/music-glossary.nexi: $(ITELY_FILES) $(ITEXI_FILES)
# Rules for the automatically generated documentation
# of lilypond-internals every time. however, this triggers
# compilation during install, which is a bad thing (tm).
-$(outdir)/lilypond-internals.nexi $(outdir)/lilypond-internals.texi: $(LILYPOND_BINARY)
+$(outdir)/lilypond-internals.texi: $(LILYPOND_BINARY)
cd $(outdir) && $(LILYPOND_BINARY) --verbose $(top-src-dir)/ly/generate-documentation
- rm -f $(outdir)/lilypond-internals.nexi
- -ln $(outdir)/lilypond-internals.texi $(outdir)/lilypond-internals.nexi
## unused