]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/lsr/GNUmakefile
Merge commit 'origin'
[lilypond.git] / input / lsr / GNUmakefile
index e479c09c0eebc7d26f615b4a816641c434e20639..8afa862bb217cfa1666e9099027c2b5e18e50392 100644 (file)
@@ -18,6 +18,8 @@ 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)
 
@@ -48,19 +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
 
 local-WWW-2: $(outdir)/lilypond-snippets/index.html \
   $(outdir)/lilypond-snippets-big-page.html \
   $(source-links)
+endif
 
 .SECONDARY: