NAME = documentation
LANGS = $(shell $(PYTHON) $(top-src-dir)/python/langdefs.py)
-MANUALS_SUBDIRS = application automated-engraving contributor essay general learning notation
+MANUALS_SUBDIRS = usage automated-engraving contributor essay \
+ general learning notation extending
SUBDIRS = $(MANUALS_SUBDIRS) snippets logo pictures misc po css topdocs $(LANGS)
STEPMAKE_TEMPLATES = documentation texinfo tex omf
LOCALSTEPMAKE_TEMPLATES = lilypond ly
# Other out files
-HTML_PAGE_NAMES= index translations devel
+HTML_PAGE_NAMES= translations
OUT_HTML_FILES += $(HTML_PAGE_NAMES:%=$(outdir)/%.html)
MAIN_INFO_DOC = lilypond-notation
-INFO_DOCS = lilypond-application lilypond-changes lilypond-contributor lilypond-internals \
+INFO_DOCS = lilypond-usage lilypond-changes lilypond-contributor lilypond-internals \
lilypond-essay lilypond-learning lilypond-notation music-glossary \
- lilypond-general
+ lilypond-general lilypond-extending
ifeq ($(out),www)
INFO_DOCS += lilypond-snippets
endif
$(outdir)/general/index.html: TEXI2HTML_INIT = $(WEB_TEXI2HTML_INIT)
$(outdir)/general/index.html: TEXI2HTML_SPLIT = $(WEB_TEXI2HTML_SPLIT)
+OUT_HTML_FILES += $(outdir)/index.html
+$(outdir)/index.html: $(outdir)/general/index.html
+ mv $(outdir)/general/* $(outdir)/
+
###########
### Targets
@echo "*** Please add a language definition for $(ISOLANG) in python/langdefs.py ***"
#TRANSLATION_DIRS = $(shell git ls-files $(ISOLANG) | $(PYTHON) $(buildscript-dir)/pytt.py '/[^/]*$$' / | sort -u )
-TRANSLATION_DIRS = application general learning notation texidocs
+TRANSLATION_DIRS = general learning notation texidocs usage
TRANSLATION_FILES = $(shell git ls-files $(ISOLANG) | grep -v GNUmakefile)
EXTRA_TRANSLATION_FILES =\
dedication.itely\
- index.html.in\
common-macros.itexi\
macros.itexi\
translations.html.in\