|
From: Hans-Bernhard B. <HBB...@t-...> - 2009-05-23 15:53:27
|
Dean Foster wrote: > I've been working on adding some other transformations to > gnuplot. I'm afraid you could have saved yourself most of the effort. There's already a patch out there doing that. See http://sourceforge.net/tracker/?func=detail&aid=1757226&group_id=2055&atid=302055 > Since I haven't seen any patches being > sent on this news group so far, I'm not sure what the style is > either. Had you investigated that earlier, you might have stumbled over the patches tracker the above link points into... > p.s. I tried writing up documentation, but I couldn't seem to make > any changes that ever made it back into my local version of gnuplot. > It appears I deeply don't understand texi/doc. So for a starter, > which file should I be editing? docs/gnuplot.doc. And you'll have to either 'make install' or set the GNUHELP environment variable for it to locate the freshly built version. While working in the source tree in a Unix-like environment, it helps to have a little script in gnuplot/src that goes like this: #! /bin/sh #GNUTERM=x11 GNUHELP=../docs/gnuplot.gih GNUPLOT_DRIVER_DIR=. if [ "$1" = "-d" ] ; then GDB=gdb if [ -n "$2" ] ; then GDB="$GDB --args" fi GNUTERM=x11 shift fi #export GNUTERM GNUHELP GNUPLOT_DRIVER_DIR export GNUHELP GNUPLOT_DRIVER_DIR if [ -n "$1" ] ; then PATH=.:$PATH GNUPLOT_LIB=../demo:../../demo $GDB ./gnuplot "$@" else PATH=.:$PATH GNUPLOT_LIB=../demo:../../demo $GDB ./gnuplot fi === end of file === This runs the fresh build of gnuplot without installing it first, referring to all new files. The script is an extended version of how "make check" target in the demo subdirectory works. |