I mailed this patch to the list a few weeks ago, but it was ignored. This patch adds support for the DESTDIR environment variable to gimptool, so that gimptool will nicely integrate with Makefiles, especially those generated by automake. This is especially an issue for plugins that are not included with the GIMP, and want to use gimptool to install plugins as part of the install rules in their Makefiles. The patch below also includes an update to the gimptool manpage. Are there any problems with the patch? Regards, Roger *** gimptool.in Tue Jan 30 22:54:39 2001 --- ../gimp-orig/gimptool.in Mon Jan 29 19:05:41 2001 *************** *** 263,269 **** shift if test "x$1" != "x"; then if test -f "$install_dir/$1"; then ! cmd="rm -f $DESTDIR$install_dir/$1" test $quiet = "yes" || echo $cmd test $donothing = "yes" || exec $cmd else --- 263,269 ---- shift if test "x$1" != "x"; then if test -f "$install_dir/$1"; then ! cmd="rm -f $install_dir/$1" test $quiet = "yes" || echo $cmd test $donothing = "yes" || exec $cmd else *************** *** 279,285 **** shift if test "x$1" != "x"; then if test -r "$1"; then ! cmd="$install_cmd $1 $DESTDIR$install_dir/$1" test $quiet = "yes" || echo $cmd test $donothing = "yes" || exec $cmd else --- 279,285 ---- shift if test "x$1" != "x"; then if test -r "$1"; then ! cmd="$install_cmd $1 $install_dir/$1" test $quiet = "yes" || echo $cmd test $donothing = "yes" || exec $cmd else *** gimptool.1.in Tue Jan 30 22:56:36 2001 --- ../gimp-orig/gimptool.1.in Fri Jan 26 22:01:29 2001 *************** *** 193,201 **** .B CFLAGS to get the preferred flags to pass to the C compiler for plug-in building. .TP 8 - .B DESTDIR - to add a prefix to the install/uninstall path. - .TP 8 .B LDFLAGS to get the prefered flags for passing to the linker. .TP 8 --- 193,198 ---- -- Roger Leigh ** Registration Number: 151826, http://counter.li.org ** Need Epson Stylus Utilities? http://gimp-print.sourceforge.net/ For GPG Public Key: finger rl117@xxxxxxxxxxxxxxxx or see public keyservers.