]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/user/GNUmakefile
* scripts/mup2ly.py: Cut-n-paste include missing lilylib.
[lilypond.git] / Documentation / user / GNUmakefile
index 2c30d360d43c8968443bef5b17f14e80b574b871..120d24d2a541fc31ab385c5c870c3c1022edfb89 100644 (file)
@@ -13,6 +13,7 @@ EXTRA_DIST_FILES= $(LATEX_FILES)
 HTML_FILES = $(addprefix $(outdir)/, $(TELY_FILES:.tely=.html))
 
 PS_FILES = $(DVI_FILES:.dvi=.ps)
+PDF_FILES = $(DVI_FILES:.dvi=.pdf)
 
 PS_GZ_FILES= $(addsuffix .gz, $(PS_FILES))
 
@@ -24,7 +25,7 @@ LOCALSTEPMAKE_TEMPLATES=lilypond ly
 # Hmm, what about?
 # local-dist: check-info
 
-info: check-info
+info: #  check-info  # -> reinstate when actively hacking doco.
 
 include $(depth)/make/stepmake.make 
 
@@ -85,7 +86,7 @@ deep-symlinks:
 endif
 
 
-local-WWW: $(HTML_FILES) $(datafiles) $(PS_GZ_FILES) $(DEEP_HTML_FILES) info-dir
+local-WWW: $(HTML_FILES) $(datafiles) $(PDF_FILES) $(PS_GZ_FILES) $(DEEP_HTML_FILES) info-dir
 
 local-WWW-clean: deep-WWW-clean
 
@@ -118,14 +119,14 @@ 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 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
+$(outdir)/lilypond-internals.nexi $(outdir)/lilypond-internals.texi: $(builddir)/lily/$(outconfbase)/lilypond
+       cd $(outdir) && $(builddir)/lily/$(outconfbase)/lilypond --verbose $(abs-srcdir)/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
+       cd $(outdir) && $(builddir)/lily/$(outconfbase)/lilypond $(abs-srcdir)/ly/generate-interface-doc
 
 else