]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/user/GNUmakefile
* make/lilypond-vars.make: set LILYPOND_BINARY variable
[lilypond.git] / Documentation / user / GNUmakefile
index cf8cf0703a7c4772f0736d48099f6e5ddcd56a58..ca93cec69bccbc6853f1366245ddd9c1b666dfd4 100644 (file)
@@ -258,8 +258,8 @@ ifneq ($(CROSS),yes)
 # 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: $(top-build-dir)/lily/$(outconfbase)/lilypond
-       cd $(outdir) && lilypond --verbose $(top-src-dir)/ly/generate-documentation
+$(outdir)/lilypond-internals.nexi $(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