]> git.donarmstrong.com Git - lilypond.git/commitdiff
Fix image paths in Texinfo docs build outside the source tree
authorJohn Mandereau <john.mandereau@gmail.com>
Tue, 22 Sep 2009 00:19:20 +0000 (02:19 +0200)
committerJohn Mandereau <john.mandereau@gmail.com>
Tue, 22 Sep 2009 00:19:20 +0000 (02:19 +0200)
Documentation/GNUmakefile
Documentation/common-macros.itexi
stepmake/stepmake/texinfo-vars.make

index fed30f5d1fe9f3669f765865e872f29a8f4a0706..c5045faa5f4d5594dd411bc41ceb6205a6dcdc5f 100644 (file)
@@ -165,9 +165,7 @@ $(outdir)/general.texi: $(outdir)/examples
 
 $(outdir)/examples:
        $(MAKE) -C general/examples
-# FIXME: who is replacing src="examples --> src="../examples" ?
-# [ugh, why do most scripts not even say they run anymore?]
-       ln -sf general/examples $@
+       ln -sf ../general/examples/$(outdir) $@
 endif
 
 # Ugh, using '%' twice not possible
index 58cb80541867d477208a546fb6935197bc200bec..128a80a7020fe53e19f97d1acb65ce7f95b2a7a8 100644 (file)
@@ -188,11 +188,10 @@ UNTRANSLATED NODE: IGNORE ME
 </div>
 @end html
 @iftex
-@image{general/examples/out-www/\IMAGE-FILE\-small,,,\IMAGE-FILE\,png}
+@image{examples/\IMAGE-FILE\-small,,,\IMAGE-FILE\,png}
 @end iftex
 @ifinfo
-FIXME: images broken in info
-@c @sourceimage{lilypond/general/examples/out-www/\IMAGE-FILE\,,,\IMAGE-FILE\,png}
+@image{lilypond/examples/\IMAGE-FILE\,,,\IMAGE-FILE\,png}
 @end ifinfo
 @end macro
 
@@ -210,11 +209,10 @@ FIXME: images broken in info
 </div>
 @end html
 @iftex
-@image{pictures/out-www/\IMAGE-FILE\,,,\IMAGE-FILE\}
+@image{pictures/\IMAGE-FILE\,,,\IMAGE-FILE\}
 @end iftex
 @ifinfo
-FIXME: images broken in info
-@c @sourceimage{lilypond/\IMAGE-FILE\,,,\IMAGE-FILE\}
+@image{lilypond/pictures/\IMAGE-FILE\,,,\IMAGE-FILE\}
 @end ifinfo
 @end macro
 
@@ -223,11 +221,10 @@ FIXME: images broken in info
 <img class="float-\POSITION\" src="pictures/\IMAGE-FILE\.\EXT\" alt="\IMAGE-FILE\">
 @end html
 @iftex
-@image{pictures/out-www/\IMAGE-FILE\,,,\IMAGE-FILE\,\EXT\}
+@image{pictures/\IMAGE-FILE\,,,\IMAGE-FILE\,\EXT\}
 @end iftex
 @ifinfo
-FIXME: images broken in info
-@c @sourceimage{lilypond/\IMAGE-FILE\,,,\EXT\}
+@image{lilypond/pictures/\IMAGE-FILE\,,,\EXT\}
 @end ifinfo
 @end macro
 
@@ -238,11 +235,10 @@ FIXME: images broken in info
 </div>
 @end html
 @iftex
-@image{pictures/out-www/\IMAGE-FILE\,,,\ALT\}
+@image{pictures/\IMAGE-FILE\,,,\ALT\}
 @end iftex
 @ifinfo
-FIXME: images broken in info
-@c @sourceimage{lilypond/\IMAGE-FILE\,,,\ALT\}
+@image{lilypond/pictures/\IMAGE-FILE\,,,\ALT\}
 @end ifinfo
 @end macro
 
index 871d63531570ed0647a4198236915128032fe15a..3f6deada2fb0ab8d29a1a6234cc12dcc70d9f841 100644 (file)
@@ -35,7 +35,7 @@ DOC_TEXI2HTML_SPLIT = --prefix=index --split=section
 WEB_TEXI2HTML_SPLIT = --prefix=index --split=node --node-files
 TEXI2HTML_SPLIT = $(DOC_TEXI2HTML_SPLIT)
 
-TEXI2HTML_INCLUDES += --I=. --I=$(src-dir) --I=$(outdir) $(DOCUMENTATION_INCLUDES) --I=$(XREF_MAPS_DIR)
+TEXI2HTML_INCLUDES += --I=$(src-dir) --I=$(outdir) $(DOCUMENTATION_INCLUDES) --I=$(XREF_MAPS_DIR)
 TEXI2HTML_FLAGS += $(TEXI2HTML_INCLUDES) $(TEXI2HTML_INIT) $(TEXI2HTML_LANG)
 TEXI2HTML = PERL_UNICODE=SD $(TEXI2HTML_PROGRAM)
 ###########