Bootstrap reports

cp: cannot create regular file `lib/uniwidth/cjk.h-t': No such file or
directory

The following patch fixes it:

diff --git a/build-aux/bootstrap b/build-aux/bootstrap
index 0e2bd34..278c10b 100755
--- a/build-aux/bootstrap
+++ b/build-aux/bootstrap
@@ -366,6 +367,11 @@ cp_mark_as_generated()
       *)                  c1=     ; c2=     ;;
     esac
 
+    dst_dir=`dirname "$cp_dst"`
+    if ! test -d "$dst_dir"; then
+      mkdir -p "$dst_dir"
+    fi
+    
     if test -z "$c1"; then
       cmp -s "$cp_src" "$cp_dst" || {
        echo "$0: cp -f $cp_src $cp_dst" &&

Regards,
Sergey
        


Reply via email to