Mercurial > hg > octave-nkf
view doc/interpreter/images.awk @ 15196:017f0b2e6933
rename gui directory to libgu
* libgui: Rename from gui.
* .hgsub (libgui/qterminal): Rename from gui/qterminal.
* Makefile.am (GUIDIR): Set to libgui instead of gui if
AMCOND_BUILD_GUI is true.
* configure.ac (AC_CONFIG_FILES): Update list for directory renaming.
* Makefile.am (.NOTPARALLEL): Delete.
List octave.html/index.html as the primary HTML target, not
octave.html.
(octave.html): New target for making the octave.html directory.
(octave.pdf): Depend on octave.dvi.
* images.awk: In generated rules for png files, depend on octave.html,
not octave.html/index.html.
* src/Makefile.am (OCTAVE_GUI_CPPFLAGS, OCTAVE_GUI_LIBS): Update for
directory renaming.
(CLEANFILES): Fix typo.
* fntests.m (src_tree): Use libinterp, not src.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 18 Aug 2012 18:10:09 -0400 |
parents | 4cbb08163a1f |
children | 219dcb37bdf9 |
line wrap: on
line source
BEGIN { exts[1] = "eps"; exts[2] = "pdf"; 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])); } } { script = $1; basename = script; sub (/\.m$/, "", basename); ubasename = toupper (basename); printf ("IMAGES_SRC += %s\n", script); for (i = 1; i <= 4; i++) { ext = exts[i]; uext = toupper (ext); printf ("%s_%s =", ubasename, uext); for (j = 2; j <= NF; j++) printf (" %s.%s", $j, ext); printf ("\n"); 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); } } }