From e6e8c0ed76ac3c16f552dadcbf0333aab65859bc Mon Sep 17 00:00:00 2001 From: Manish Singh Date: Sun, 4 Apr 2004 01:12:32 +0000 Subject: [PATCH] Create any directories in the install path that do not already exist. 2004-04-03 Manish Singh * gimptool-2.0.in: Create any directories in the install path that do not already exist. Fixes bug #138980. * docs/gimptool.1.in: s/dont/don't/g --- ChangeLog | 7 +++++++ docs/gimptool.1.in | 8 ++++---- gimptool-2.0.in | 8 ++++++++ 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4512b71a25..a421949790 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2004-04-03 Manish Singh + + * gimptool-2.0.in: Create any directories in the install path that do + not already exist. Fixes bug #138980. + + * docs/gimptool.1.in: s/dont/don't/g + 2004-04-04 Sven Neumann * app/core/gimpimagemap.c (gimp_image_map_apply): do nothing if the diff --git a/docs/gimptool.1.in b/docs/gimptool.1.in index e82d7a0b9f..2763774585 100644 --- a/docs/gimptool.1.in +++ b/docs/gimptool.1.in @@ -50,17 +50,17 @@ Run quietly without echoing any of the build commands. Run silently without echoing any of the build commands. Same as \-\-quiet. .TP 8 .B \-n -Test mode. Print the commands but dont actually execute them. Useful for +Test mode. Print the commands but don't actually execute them. Useful for making dry runs for testing. .TP 8 .B \-\-just-print -Test mode. Print the commands but dont actually execute them. Same as \-n. +Test mode. Print the commands but don't actually execute them. Same as \-n. .TP 8 .B \-\-dry-run -Test mode. Print the commands but dont actually execute them. Same as \-n. +Test mode. Print the commands but don't actually execute them. Same as \-n. .TP 8 .B \-\-recon -Test mode. Print the commands but dont actually execute them. Same as \-n. +Test mode. Print the commands but don't actually execute them. Same as \-n. .TP 8 .B \-\-bindir Outputs the bindir used to install the \fIGIMP\fP. diff --git a/gimptool-2.0.in b/gimptool-2.0.in index fb8313dc8c..74ebcdd931 100644 --- a/gimptool-2.0.in +++ b/gimptool-2.0.in @@ -263,6 +263,9 @@ while test $# -gt 0; do shift if test "x$1" != "x"; then if test -r "$1"; then + cmd="@INSTALL_PROGRAM@ -d $DESTDIR$install_dir" + test $quiet = "yes" || echo $cmd + test $donothing = "yes" || $cmd dest=`echo $1 | sed -e 's#.*/\([^/].*\)$#\1#'` cmd="$install_cmd $1 $DESTDIR$install_dir/$dest" test $quiet = "yes" || echo $cmd @@ -311,6 +314,11 @@ while test $# -gt 0; do shift if test "x$1" != "x"; then if test -r "$1"; then + if test "$install_dir" != "."; then + cmd="@INSTALL_PROGRAM@ -d $DESTDIR$install_dir" + test $quiet = "yes" || echo $cmd + test $donothing = "yes" || $cmd + fi dest=`echo $1 | sed -e 's#.*/\([^/].*\)$#\1#' -e 's/\.[^.]*$//'` cmd="$cc $cflags $gimp_cflags -o $install_dir/$dest $1 $ldflags $gimp_libs $libs" test $quiet = "yes" || echo $cmd