]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/user/GNUmakefile
Doc-de: update macros.itely and nitpicks
[lilypond.git] / Documentation / user / GNUmakefile
index 237bb973a0426517d90417ba6d9d87ca75953f66..d928f283758247672d00d44455b9b4b0d46de540 100644 (file)
@@ -4,7 +4,7 @@ LATEX_FILES =$(call src-wildcard,*.latex)
 
 
 EXTRA_DIST_FILES = $(LATEX_FILES) $(IMAGES) $(EPS_ILLUSTRATIONS)
-EXTRA_DIST_FILES += README.txt writing-texinfo.txt policy.txt writing-sections.txt
+EXTRA_DIST_FILES += README.txt
 
 IMAGES=$(call src-wildcard,*.png)
 EPS_ILLUSTRATIONS=context-example.eps
@@ -137,9 +137,14 @@ $(top-build-dir)/mf/$(outconfbase)/feta16list.ly:
 
 $(outdir)/lilypond.texi $(outdir)/lilypond-program.texi $(outdir)/lilypond-learning.texi $(outdir)/music-glossary.texi: $(ITELY_FILES) $(ITEXI_FILES)
 
+$(outdir)/lilypond.texi: $(outdir)/ly-grammar.txt
 
 # Rules for the automatically generated documentation
 
+$(outdir)/ly-grammar.txt: $(top-src-dir)/lily/parser.yy
+       cd $(outdir) && $(BISON) -v $<
+       $(auxscript-dir)/yyout2grammar.py $(outdir)/parser.output $@
+
 # 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).