X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2FGNUmakefile;h=12f25fefc9ffa36a165654fe7e90bc18754f48d7;hb=730e35bfe91fc8b151fbd54c6daddaf930664327;hp=747a8e304e612ed38698c5f6758b4d9b56767c97;hpb=859d050f0220c0b45c52a37b9825482eec0fea8c;p=lilypond.git diff --git a/Documentation/GNUmakefile b/Documentation/GNUmakefile index 747a8e304e..12f25fefc9 100644 --- a/Documentation/GNUmakefile +++ b/Documentation/GNUmakefile @@ -7,7 +7,7 @@ STEPMAKE_TEMPLATES=documentation texinfo tex LOCALSTEPMAKE_TEMPLATES=lilypond ly LILYPOND_BOOK_FLAGS=--extra-options '-e "(ly:set-option (quote internal-type-checking) \#t)"' README_TOP_FILES= DEDICATION THANKS -EXTRA_DIST_FILES= TRANSLATION +EXTRA_DIST_FILES = lilypond-texi2html.init include $(depth)/make/stepmake.make @@ -17,12 +17,14 @@ OUT_CSS_FILES= $(CSS_FILES:%.css=$(outdir)/%.css) default: local-doc +ifeq ($(out),www) local-WWW-2: txt-to-html $(OUT_HTML_FILES) local-WWW-clean: deep-WWW-clean deep-WWW-clean: rm -rf $(outdir)/wiki-dump +endif OUT_TXT_FILES = $(addprefix $(outdir)/, $(addsuffix .txt, $(README_TOP_FILES))) @@ -65,7 +67,8 @@ new-lang: cp po/lilypond-doc.pot po/$(ISOLANG).po @echo "*** Please add a language definition for $(ISOLANG) in python/langdefs.py ***" -CHECKED_FILES = $(ISOLANG)/index.html.in $(shell find $(ISOLANG)/user/ -maxdepth 1 -name '*.*te??') +CHECKED_FILES = $(ISOLANG)/index.html.in $(shell find $(ISOLANG)/user/ -maxdepth 1 -name '*.*te??') \ + $(shell find $(depth)/input/texidocs/ -name '*.texidoc') TELY_FILES = $(call src-wildcard,$(ISOLANG)/user/*.tely) skeleton-update: @@ -99,10 +102,10 @@ fix-xrefs: $(DOCUMENTS_INCLUDES) $(auxpython-dir)/manuals_definitions.py check-translation: - $(auxscript-dir)/check_translation.py $(CHECK_TRANSLATION_FLAGS) $(CHECKED_FILES) + ISOLANG=$(ISOLANG) $(auxscript-dir)/check_translation.py $(CHECK_TRANSLATION_FLAGS) $(CHECKED_FILES) update-translation: - $(auxscript-dir)/check_translation.py --update $(CHECK_TRANSLATION_FLAGS) $(CHECKED_FILES) + ISOLANG=$(ISOLANG) $(auxscript-dir)/check_translation.py --update $(CHECK_TRANSLATION_FLAGS) $(CHECKED_FILES) translation-status: make -C po out=www messages