# Rules for the automatically generated documentation
# When cross-compiling, we don't have lilypond, so we fake
ifneq ($(CROSS),yes)
-dummy:
-$(outdir)/lilypond-internals.nexi $(outdir)/lilypond-internals.texi: dummy
+
+
+# there used to be a dependency on a dummy target, to force a rebuild 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: $(depth)/$(builddir)/lily/$(outconfbase)/lilypond
cd $(outdir) && ../$(depth)/$(builddir)/lily/$(outconfbase)/lilypond ../$(src-depth)/ly/generate-documentation
-ln $(outdir)/lilypond-internals.texi $(outdir)/lilypond-internals.nexi
+
+## unused
$(outdir)/interfaces.itexi: dummy
cd $(outdir) && ../$(depth)/$(builddir)/lily/$(outconfbase)/lilypond ../$(src-depth)/ly/generate-interface-doc
cp $(i) $(depth)/ && ) true
-cp $(outdir)/*png $(outdir)/index.html $(depth) # don't fail if not making website
-###local-WWW: copy-to-top
-
local-WWW: $(HTML_FILES) copy-to-top
# we want footers even if website builds (or is built) partly
$(MAKE) footify