workaround texinfo problem with non-local images
authorTom Henderson <tomh@tomh.org>
Thu Apr 03 23:03:25 2008 -0700 (22 months ago)
changeset 2872ab470305c52a
parent 2871 6d712f10acc0
child 2873 e6ca6125fc44
workaround texinfo problem with non-local images
doc/tutorial/Makefile
doc/tutorial/helpers.texi
     1.1 --- a/doc/tutorial/Makefile	Thu Apr 03 22:42:10 2008 -0700
     1.2 +++ b/doc/tutorial/Makefile	Thu Apr 03 23:03:25 2008 -0700
     1.3 @@ -6,15 +6,17 @@
     1.4  CSS = --css-include=tutorial.css
     1.5  SPLIT = --split section
     1.6  
     1.7 -TGIF_SOURCES = helpers.obj 
     1.8 +TGIF_SOURCES = helpers.obj helpers2.obj
     1.9  TGIF_EPS = ${TGIF_SOURCES:.obj=.eps}
    1.10 +TGIF_PNG = ${TGIF_SOURCES:.obj=.eps}
    1.11  
    1.12  all:  images html split-html pdf
    1.13  
    1.14  images:
    1.15 -	cd figures/; $(TGIF) -print -eps $(TGIF_SOURCES) 
    1.16 -	cd figures/; $(foreach FILE,$(TGIF_EPS),$(CONVERT) $(FILE) ${FILE:.eps=.png};)
    1.17 -	cd figures/; $(foreach FILE,$(TGIF_EPS),$(EPSTOPDF) $(FILE);)
    1.18 +	cd figures/; cp $(TGIF_SOURCES) ../
    1.19 +	$(TGIF) -print -eps $(TGIF_SOURCES) 
    1.20 +	$(foreach FILE,$(TGIF_EPS),$(CONVERT) $(FILE) ${FILE:.eps=.png};)
    1.21 +	$(foreach FILE,$(TGIF_EPS),$(EPSTOPDF) $(FILE);)
    1.22  
    1.23  html: images
    1.24  	$(TEXI2HTML) ${CSS} tutorial.texi
    1.25 @@ -26,4 +28,4 @@
    1.26  	$(TEXI2PDF) tutorial.texi
    1.27  
    1.28  clean:
    1.29 -	rm -rf tutorial.aux tutorial.cp tutorial.cps tutorial.fn tutorial.ky tutorial.pg tutorial.tp tutorial.vr tutorial.toc tutorial.log tutorial.pdf tutorial.html tutorial/ 
    1.30 +	rm -rf $(TGIF_SOURCES) $(TGIF_EPS) $(TGIF_PNG) tutorial.aux tutorial.cp tutorial.cps tutorial.fn tutorial.ky tutorial.pg tutorial.tp tutorial.vr tutorial.toc tutorial.log tutorial.pdf tutorial.html tutorial/ 
     2.1 --- a/doc/tutorial/helpers.texi	Thu Apr 03 22:42:10 2008 -0700
     2.2 +++ b/doc/tutorial/helpers.texi	Thu Apr 03 23:03:25 2008 -0700
     2.3 @@ -6,7 +6,7 @@
     2.4  @code{src/helper/} directory; it depends on (and wraps) the low-level
     2.5  API which is implemented everywhere else in @code{src/}.  The following
     2.6  figure shows this relationship.
     2.7 -@center @image{figures/helpers,,,,png}
     2.8 +@center @image{helpers,,,,png}
     2.9  
    2.10  The use of the helper API is optional.  It has two main goals:
    2.11  @itemize @bullet