Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(71)

Side by Side Diff: make/doc-i18n-root-vars.make

Issue 281970043: Change texi2html option order for fixing Japanese navigation bars
Patch Set: Fix languages minimum initialization Created 9 years, 3 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Documentation/lilypond-texi2html-lang.init ('k') | stepmake/stepmake/texinfo-vars.make » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # ISOLANG must be defined 1 # ISOLANG must be defined
2 2
3 LANGS = $(shell $(PYTHON) $(top-src-dir)/python/langdefs.py) 3 LANGS = $(shell $(PYTHON) $(top-src-dir)/python/langdefs.py)
4 4
5 TELY_FILES := $(call src-wildcard,*.tely) 5 TELY_FILES := $(call src-wildcard,*.tely)
6 TEXI_FILES := $(call src-wildcard,*.texi) 6 TEXI_FILES := $(call src-wildcard,*.texi)
7 MASTER_TEXI_FILES := $(TEXI_FILES:%=$(outdir)/%) $(TELY_FILES:%.tely=$(outdir)/% .texi) 7 MASTER_TEXI_FILES := $(TEXI_FILES:%=$(outdir)/%) $(TELY_FILES:%.tely=$(outdir)/% .texi)
8 8
9 TEXINFO_MANUALS =\ 9 TEXINFO_MANUALS =\
10 $(TELY_FILES:%.tely=%)\ 10 $(TELY_FILES:%.tely=%)\
(...skipping 23 matching lines...) Expand all
34 -I $(top-src-dir)/Documentation \ 34 -I $(top-src-dir)/Documentation \
35 -I $(top-src-dir)/input/regression 35 -I $(top-src-dir)/input/regression
36 36
37 MAKEINFO_FLAGS += --enable-encoding $(DOCUMENTATION_INCLUDES) 37 MAKEINFO_FLAGS += --enable-encoding $(DOCUMENTATION_INCLUDES)
38 MAKEINFO = LANG= $(MAKEINFO_PROGRAM) $(MAKEINFO_FLAGS) 38 MAKEINFO = LANG= $(MAKEINFO_PROGRAM) $(MAKEINFO_FLAGS)
39 39
40 WEB_MANUALS=web 40 WEB_MANUALS=web
41 41
42 ########### 42 ###########
43 ifneq ($(ISOLANG),) 43 ifneq ($(ISOLANG),)
44 TEXI2HTML_LANG = --lang=$(ISOLANG) 44 TEXI2HTML_LANG_INIT = --init-file=$(top-src-dir)/Documentation/lilypond-texi2htm l-lang.init
45 TEXI2HTML_LANG = --document-language=$(ISOLANG)
45 endif 46 endif
46 47
47 $(XREF_MAPS_DIR)/web.$(ISOLANG).xref-map:\ 48 $(XREF_MAPS_DIR)/web.$(ISOLANG).xref-map:\
48 XREF_MAP_FLAGS += --split=node 49 XREF_MAP_FLAGS += --split=node
49 50
50 TEXI2HTML_INIT = --init-file=$(top-src-dir)/Documentation/lilypond-texi2html.ini t 51 TEXI2HTML_INIT = --init-file=$(top-src-dir)/Documentation/lilypond-texi2html.ini t
51 52
52 TEXI2HTML_SPLIT = --prefix=index --split=section 53 TEXI2HTML_SPLIT = --prefix=index --split=section
53 54
54 TEXI2HTML_INCLUDES += --I=. --I=$(src-dir) --I=$(outdir) $(DOCUMENTATION_INCLUDE S) --I=$(XREF_MAPS_DIR) 55 TEXI2HTML_INCLUDES += --I=. --I=$(src-dir) --I=$(outdir) $(DOCUMENTATION_INCLUDE S) --I=$(XREF_MAPS_DIR)
55 TEXI2HTML_FLAGS += $(TEXI2HTML_INCLUDES) $(TEXI2HTML_LANG) $(TEXI2HTML_INIT)· 56 # To overwrite texi2html default i18n messages with the LilyPond init file,
57 # delete TEXI2HTML_INIT that exists before TEXI2HTML_LANG.
58 TEXI2HTML_FLAGS := $(filter-out $(TEXI2HTML_INIT),$(TEXI2HTML_FLAGS))
59 # Instead, add languages minimum initialization before TEXI2HTML_LANG.
60 TEXI2HTML_FLAGS := $(subst $(TEXI2HTML_LANG),$(TEXI2HTML_LANG_INIT) $(TEXI2HTML_ LANG),$(TEXI2HTML_FLAGS))
61 TEXI2HTML_FLAGS += $(TEXI2HTML_INCLUDES) $(TEXI2HTML_LANG_INIT) $(TEXI2HTML_LANG ) $(TEXI2HTML_INIT)
56 TEXI2HTML = TOP_SRC_DIR=$(top-src-dir) PERL_UNICODE=SD $(TEXI2HTML_PROGRAM) 62 TEXI2HTML = TOP_SRC_DIR=$(top-src-dir) PERL_UNICODE=SD $(TEXI2HTML_PROGRAM)
57 ########### 63 ###########
58 64
59 TEXI2PDF_FLAGS += $(DOCUMENTATION_INCLUDES) 65 TEXI2PDF_FLAGS += $(DOCUMENTATION_INCLUDES)
60 TEXI2PDF_FLAGS += -I $(LYS_OUTPUT_DIR) 66 TEXI2PDF_FLAGS += -I $(LYS_OUTPUT_DIR)
61 67
62 DOCUMENTATION_LOCALE_TARGET = $(outdir)/doc-po 68 DOCUMENTATION_LOCALE_TARGET = $(outdir)/doc-po
63 TRANSLATION_LILY_IMAGES = $(outdir)/translation-lily-images 69 TRANSLATION_LILY_IMAGES = $(outdir)/translation-lily-images
OLDNEW
« no previous file with comments | « Documentation/lilypond-texi2html-lang.init ('k') | stepmake/stepmake/texinfo-vars.make » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b