$NetBSD: patch-ac,v 1.1.1.1 2005/03/17 21:16:12 daprice Exp $ --- scripts/install.sh.orig Tue Apr 8 10:20:05 2003 +++ scripts/install.sh @@ -97,7 +97,7 @@ EOF # Directories to install -install_dirs="include compilers scripts" +install_dirs="include" if test "$with_src" != "no"; then install_dirs="$install_dirs src LICENSE gpl.txt configure config.guess config.sub config.h.in" fi @@ -112,18 +112,18 @@ if test -r "$install_dir" ; then # Deal with non-empty install dir if test "`ls -a $install_dir/ | wc -w`" != "2" ; then # Test if it matches C++ Toolkit dir structure - test ! -f "$install_dir/include/corelib/ncbistd.hpp" && \ + test ! -f "$install_dir/corelib/ncbistd.hpp" && \ Usage "Non-empty dir $install_dir does not have C++ Toolkit structure" # Delete previous sources' installation - for d in compilers scripts src doc include ; do + for d in src doc dbapi gui objects serial util algo app test inc connect ctools html hello cgi corelib ; do test ! -r "$install_dir/$d" || rm -r "$install_dir/$d" || \ Usage "Cannot delete $install_dir/$d" done # Delete previous builds' installation if test "$with_purge" = "yes" ; then - purge_dirs=`ls $install_dir/*/inc/ncbiconf.h 2>/dev/null | \ + purge_dirs=`ls $install_dir/ncbiconf.h 2>/dev/null | \ sed 's%/inc/ncbiconf\.h *$%%g'` if test "$purge_dirs" != "" ; then for d in $purge_dirs ; do