LEFT | RIGHT |
1 | 1 |
2 .SUFFIXES: .html .info .texi .texinfo | 2 .SUFFIXES: .html .info .texi .texinfo |
3 | 3 |
4 # Explicitly list the dependencies on generated content | 4 # Explicitly list the dependencies on generated content |
5 $(outdir)/web.texi: $(outdir)/we-wrote.itexi $(outdir)/others-did.itexi $(outdir
)/weblinks.itexi $(outdir)/version.itexi | 5 $(outdir)/web.texi: $(outdir)/we-wrote.itexi $(outdir)/others-did.itexi $(outdir
)/weblinks.itexi $(outdir)/version.itexi |
6 | 6 |
7 $(top-build-dir)/Documentation/$(outdir)/%/index.$(ISOLANG).html: $(outdir)/%/in
dex.html $(TRANSLATION_LILY_IMAGES) | 7 $(top-build-dir)/Documentation/$(outdir)/%/index.$(ISOLANG).html: $(outdir)/%/in
dex.html $(TRANSLATION_LILY_IMAGES) |
8 » $(call ly_info,Making $(abspath $@) (hard links)) | 8 » $(call ly_progress,Making,$@,(hard links)) |
9 mkdir -p $(dir $@) | 9 mkdir -p $(dir $@) |
10 find $(outdir)/$* -name '*.html' | xargs grep -L 'UNTRANSLATED NODE: IGN
ORE ME' | sed 's!$(outdir)/!!g' | xargs $(buildscript-dir)/mass-link --prepend-s
uffix .$(ISOLANG) hard $(outdir) $(top-build-dir)/Documentation/$(outdir) | 10 find $(outdir)/$* -name '*.html' | xargs grep -L 'UNTRANSLATED NODE: IGN
ORE ME' | sed 's!$(outdir)/!!g' | xargs $(buildscript-dir)/mass-link --prepend-s
uffix .$(ISOLANG) hard $(outdir) $(top-build-dir)/Documentation/$(outdir) |
11 | 11 |
12 $(top-build-dir)/Documentation/$(outdir)/%-big-page.$(ISOLANG).html: $(outdir)/%
-big-page.html $(TRANSLATION_LILY_IMAGES) | 12 $(top-build-dir)/Documentation/$(outdir)/%-big-page.$(ISOLANG).html: $(outdir)/%
-big-page.html $(TRANSLATION_LILY_IMAGES) |
13 » $(call ly_info,Making $(abspath $@) (hard link)) | 13 » $(call ly_progress,Making,$@,(hard link)) |
14 mkdir -p $(dir $@) | 14 mkdir -p $(dir $@) |
15 ln -f $< $@ | 15 ln -f $< $@ |
16 | 16 |
17 $(top-build-dir)/Documentation/$(outdir)/%.$(ISOLANG).html: $(outdir)/%.html | 17 $(top-build-dir)/Documentation/$(outdir)/%.$(ISOLANG).html: $(outdir)/%.html |
18 » $(call ly_info,Making $(abspath $@) (hard link)) | 18 » $(call ly_progress,Making,$@,(hard link)) |
19 mkdir -p $(dir $@) | 19 mkdir -p $(dir $@) |
20 ln -f $< $@ | 20 ln -f $< $@ |
21 | 21 |
22 $(top-build-dir)/Documentation/$(outdir)/%.$(ISOLANG).pdf: $(outdir)/%.pdf | 22 $(top-build-dir)/Documentation/$(outdir)/%.$(ISOLANG).pdf: $(outdir)/%.pdf |
23 » $(call ly_info,Making $(abspath $@) (hard link)) | 23 » $(call ly_progress,Making,$@,(hard link)) |
24 mkdir -p $(dir $@) | 24 mkdir -p $(dir $@) |
25 ln -f $< $@ | 25 ln -f $< $@ |
26 | 26 |
27 $(outdir)/%.png: $(top-build-dir)/Documentation/$(outdir)/%.png | 27 $(outdir)/%.png: $(top-build-dir)/Documentation/$(outdir)/%.png |
28 » $(call ly_info,Making $(abspath $@) (hard link)) | 28 » $(call ly_progress,Making,$@,(hard link)) |
29 ln -f $< $@ | 29 ln -f $< $@ |
30 | 30 |
31 $(MASTER_TEXI_FILES): $(ITELY_FILES) $(ITEXI_FILES) $(outdir)/pictures $(outdir)
/ly-examples | 31 $(MASTER_TEXI_FILES): $(ITELY_FILES) $(ITEXI_FILES) $(outdir)/pictures $(outdir)
/ly-examples |
32 | 32 |
33 $(outdir)/pictures: | 33 $(outdir)/pictures: |
34 $(MAKE) -C $(top-build-dir)/Documentation/pictures out=www WWW-1 | 34 $(MAKE) -C $(top-build-dir)/Documentation/pictures out=www WWW-1 |
35 ln -sf $(top-build-dir)/Documentation/pictures/$(outdir) $@ | 35 ln -sf $(top-build-dir)/Documentation/pictures/$(outdir) $@ |
36 | 36 |
37 $(outdir)/ly-examples: | 37 $(outdir)/ly-examples: |
38 $(MAKE) -C $(top-build-dir)/Documentation/ly-examples out=www WWW-1 | 38 $(MAKE) -C $(top-build-dir)/Documentation/ly-examples out=www WWW-1 |
39 ln -sf $(top-build-dir)/Documentation/ly-examples/$(outdir) $@ | 39 ln -sf $(top-build-dir)/Documentation/ly-examples/$(outdir) $@ |
40 | 40 |
41 $(TRANSLATION_LILY_IMAGES): $(MASTER_TEXI_FILES) | 41 $(TRANSLATION_LILY_IMAGES): $(MASTER_TEXI_FILES) |
42 » $(call ly_info,Making $(abspath $@) (hard links)) | 42 » $(call ly_progress,Making,$@,(hard links)) |
43 find $(outdir) \( -name 'lily-*.png' -o -name 'lily-*.ly' \) | sed 's!$(
outdir)/!!g' | xargs $(buildscript-dir)/mass-link hard $(outdir) $(top-build-dir
)/Documentation/$(outdir) | 43 find $(outdir) \( -name 'lily-*.png' -o -name 'lily-*.ly' \) | sed 's!$(
outdir)/!!g' | xargs $(buildscript-dir)/mass-link hard $(outdir) $(top-build-dir
)/Documentation/$(outdir) |
44 find $(outdir) \( -name '*.??.idx' \) | sed 's!$(outdir)/!!g' | xargs $(
buildscript-dir)/mass-link hard $(outdir) $(top-build-dir)/Documentation/$(outdi
r) | 44 find $(outdir) \( -name '*.??.idx' \) | sed 's!$(outdir)/!!g' | xargs $(
buildscript-dir)/mass-link hard $(outdir) $(top-build-dir)/Documentation/$(outdi
r) |
45 touch $@ | 45 touch $@ |
46 | 46 |
47 $(outdir)/lilypond-%.info: $(outdir)/%.texi $(outdir)/$(INFO_IMAGES_DIR).info-im
ages-dir-dep $(outdir)/version.itexi $(outdir)/weblinks.itexi | $(OUT_TEXINFO_MA
NUALS) | 47 $(outdir)/lilypond-%.info: $(outdir)/%.texi $(outdir)/$(INFO_IMAGES_DIR).info-im
ages-dir-dep $(outdir)/version.itexi $(outdir)/weblinks.itexi | $(OUT_TEXINFO_MA
NUALS) |
48 » $(call ly_info,Making $(abspath $@) < itexi) | 48 » $(call ly_progress,Making,$@,< itexi) |
49 $(buildscript-dir)/run-and-check "$(MAKEINFO) -I$(src-dir) -I$(outdir) -
-output=$@ $<" "$*.makeinfo.log" | 49 $(buildscript-dir)/run-and-check "$(MAKEINFO) -I$(src-dir) -I$(outdir) -
-output=$@ $<" "$*.makeinfo.log" |
50 | 50 |
51 $(outdir)/index.$(ISOLANG).html: TEXI2HTML_INIT = $(WEB_TEXI2HTML_INIT) | 51 $(outdir)/index.$(ISOLANG).html: TEXI2HTML_INIT = $(WEB_TEXI2HTML_INIT) |
52 $(outdir)/index.$(ISOLANG).html: TEXI2HTML_SPLIT = $(WEB_TEXI2HTML_SPLIT) | 52 $(outdir)/index.$(ISOLANG).html: TEXI2HTML_SPLIT = $(WEB_TEXI2HTML_SPLIT) |
53 | 53 |
54 $(outdir)/index.$(ISOLANG).html: | 54 $(outdir)/index.$(ISOLANG).html: |
55 » $(call ly_info,Making $(abspath $@)) | 55 » $(call ly_progress,Making,$@,) |
56 $(buildscript-dir)/run-and-check "DEPTH=$(depth) $(TEXI2HTML) $(TEXI2HTM
L_FLAGS) $(TEXI2HTML_SPLIT) --output=$(outdir)/ web.texi" "webtexi.log" | 56 $(buildscript-dir)/run-and-check "DEPTH=$(depth) $(TEXI2HTML) $(TEXI2HTM
L_FLAGS) $(TEXI2HTML_SPLIT) --output=$(outdir)/ web.texi" "webtexi.log" |
57 find $(outdir)/ -name '*.html' | xargs grep -L 'UNTRANSLATED NODE: IGNOR
E ME' | sed 's!$(outdir)/!!g' | xargs $(buildscript-dir)/mass-link --prepend-suf
fix .$(ISOLANG) hard $(outdir) $(top-build-dir)/Documentation/$(outdir) | 57 find $(outdir)/ -name '*.html' | xargs grep -L 'UNTRANSLATED NODE: IGNOR
E ME' | sed 's!$(outdir)/!!g' | xargs $(buildscript-dir)/mass-link --prepend-suf
fix .$(ISOLANG) hard $(outdir) $(top-build-dir)/Documentation/$(outdir) |
LEFT | RIGHT |