Mercurial > octave-nkf
diff doc/interpreter/images.awk @ 15266:219dcb37bdf9
Restore ability to build HTML version of documentation.
* doc/interpreter/Makefile.am: New HTMLDIR_IMAGES target using an ordered rule
to copy images to octave.html directory after directory is created.
* doc/interpreter/images.awk: Remove HTMLDIR_IMAGES variable from images.mk.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 30 Aug 2012 16:47:36 -0700 |
parents | 017f0b2e6933 |
children | 501cb6a90f0f |
line wrap: on
line diff
--- a/doc/interpreter/images.awk Thu Aug 30 17:28:08 2012 -0400 +++ b/doc/interpreter/images.awk Thu Aug 30 16:47:36 2012 -0700 @@ -4,7 +4,6 @@ exts[3] = "png"; exts[4] = "txt"; printf ("IMAGES_SRC =\n"); - printf ("HTMLDIR_IMAGES =\n"); for (i = 1; i <= 4; i++) { printf ("IMAGES_%s =\n", toupper (exts[i])); } @@ -25,18 +24,7 @@ printf ("IMAGES_%s += $(%s_%s)\n", uext, ubasename, uext); - if (ext == "png") { - printf ("HTMLDIR_IMAGES += "); - for (j = 2; j <= NF; j++) - printf (" octave.html/%s.png", $j); - printf ("\n"); - } - for (j = 2; j <= NF; j++) { - if (ext == "png") { - printf ("octave.html/%s.png: %s.png octave.html\n", $j, $j); - printf ("\tcp $< $@\n"); - } printf ("%s.%s: %s\n", $j, ext, script); printf ("\t$(top_builddir)/run-octave -f -q -H -p $(srcdir) --eval \"%s ('%s', '%s');\"\n", basename, $j, ext);