TEXINPUTS=$(top-src-dir)/tex::
export TEXINPUTS
-include $(depth)/make/stepmake.make
+include $(depth)/make/stepmake.make
dvi: $(DVI_FILES)
local-install-WWW: local-install-info
local-uninstall-WWW: local-uninstall-info
-default:
+default:
local-help: extra-local-help
mkdir -p $(dir $@)
$(MAKEINFO) -I$(outdir) --output=$(outdir)/lilypond --css-include=$(top-src-dir)/Documentation/texinfo.css --html $<
find $(outdir)/lilypond/ -name '*'.png -o -name '*'.ly | xargs rm -f
-# symbolic links to save space
+# symbolic links to save space
(cd $(outdir)/lilypond/ ; ln -sf ../*.png ../*.ly . )
#
# One big page manual
#
-$(outdir)/lilypond.html: $(outdir)/lilypond.texi
+$(outdir)/lilypond.html: $(outdir)/lilypond.texi $(OUT_PNG_IMAGES)
$(MAKEINFO) -I$(outdir) --output=$@ --css-include=$(top-src-dir)/Documentation/texinfo.css --html --no-split --no-headers $<
#
mkdir -p $(dir $@)
$(MAKEINFO) --output=$(outdir)/music-glossary --css-include=$(top-src-dir)/Documentation/texinfo.css --html $<
find $(outdir)/music-glossary/ -name '*'.png -o -name '*'.ly | xargs rm -f
-# symbolic links to save space
+# symbolic links to save space
(cd $(outdir)/music-glossary/ ; ln -sf ../*.png ../*.ly . )
-$(outdir)/lilypond.xml: $(outdir)/lilypond.texi
+$(outdir)/lilypond.xml: $(outdir)/lilypond.texi
mkdir -p $(dir $@)
$(MAKEINFO) -I$(outdir) --output=$@ --docbook $<
ln -f $< $@
local-clean:
- rm -f fonts.aux fonts.log feta*.tfm feta*.*pk
+ rm -f fonts.aux fonts.log feta*.tfm feta*.*pk
rm -rf $(outdir)/lilypond $(outdir)/lilypond-internals $(outdir)/music-glossary
# lilypond.texi deps
$(top-build-dir)/mf/$(outconfbase)/feta16list.ly:
$(MAKE) -C $(top-src-dir)/mf
-$(outdir)/lilypond.texi: $(ITELY_FILES) $(ITEXI_FILES)
+$(outdir)/lilypond.texi: $(ITELY_FILES) $(ITEXI_FILES)
$(outdir)/lilypond.nexi: $(ITELY_FILES) $(ITEXI_FILES)
# Prevent building music-glossary.texi from default target
$(outdir)/music-glossary.nexi:
# Rules for the automatically generated documentation
-# When cross-compiling, we don't have lilypond, so we fake
-ifneq ($(CROSS),yes)
-
# There used to be a dependency on a dummy target, to force a rebuild
# of lilypond-internals every time. however, this triggers
$(outdir)/interfaces.itexi: dummy
cd $(outdir) && lilypond $(top-src-dir)/ly/generate-interface-doc
-else
-
-$(outdir)/lilypond-internals.nexi $(outdir)/lilypond-internals.texi:
- touch $@
- touch $(outdir)/$(*F).nexi
-
-$(outdir)/programming-interface.texi:
- cp dummy-interfaces.itexi $@
-endif
local-clean: local-delete