X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Flsr%2FGNUmakefile;h=8afa862bb217cfa1666e9099027c2b5e18e50392;hb=5532801f30af2000fa4085e2e3853efe2f6b095b;hp=97e188eb887d052616b348eca17b80f62a2407d7;hpb=0a06536c058cd7641a29a0b4c80cf9fd8e334fb2;p=lilypond.git diff --git a/input/lsr/GNUmakefile b/input/lsr/GNUmakefile index 97e188eb88..8afa862bb2 100644 --- a/input/lsr/GNUmakefile +++ b/input/lsr/GNUmakefile @@ -18,11 +18,13 @@ endif include $(depth)/make/stepmake.make +TEXI2HTML_FLAGS += -D short_toc + IN_ITELY_FILES = $(call src-wildcard,*-intro.itely) GENERATED_ITELY_FILES = $(IN_ITELY_FILES:%-intro.itely=$(outdir)/%.itely) $(outdir)/%.itely: %-intro.itely %.snippet-list - xargs $(PYTHON) $(buildscript-dir)/lys-to-tely.py -f doctitle,texidoc,verbatim --name=$@ --template=$< < $(filter %.snippet-list, $^) + xargs $(LYS_TO_TELY) -f doctitle,texidoc,verbatim --name=$@ --template=$< < $(filter %.snippet-list, $^) $(outdir)/lilypond-snippets.texi: $(GENERATED_ITELY_FILES) $(LY_FILES) @@ -48,28 +50,21 @@ $(INFO_FILES): true endif +local-clean: + rm -f $(INFO_IMAGES_DIR) + +ifeq ($(out),www) # All web targets, except info image symlinks and info docs are # installed in non-recursing target from TOP-SRC-DIR local-install-WWW: local-install-info local-uninstall-WWW: local-uninstall-info -local-clean: - rm -f $(INFO_IMAGES_DIR) - local-WWW-1: info $(outdir)/lilypond-snippets.pdf \ - $(outdir)/lilypond-snippets.texi \ - $(outdir)/lilypond-snippets.xref-map \ - $(outdir)/lilypond.xref-map \ - $(outdir)/lilypond-learning.xref-map + $(outdir)/lilypond-snippets.texi local-WWW-2: $(outdir)/lilypond-snippets/index.html \ $(outdir)/lilypond-snippets-big-page.html \ $(source-links) - -%.xref-map: %.texi - $(PYTHON) $(buildscript-dir)/extract_texi_filenames.py $< - -$(outdir)/lilypond.xref-map $(outdir)/lilypond-learning.xref-map: - ln -sf ../../../Documentation/user/$@ $@ +endif .SECONDARY: