summaryrefslogtreecommitdiff
path: root/gnulib-tool
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-01-13 21:57:21 +0000
committerBruno Haible <bruno@clisp.org>2003-01-13 21:57:21 +0000
commitd6424b2f5a692d3e7a933f50df7ee9b3fa911a0c (patch)
tree5baf45da0fe249b13e11750183b173e6e4c044e7 /gnulib-tool
parent794218b3f223be7723de1a6ab8f0b945e4293e56 (diff)
downloadgnulib-d6424b2f5a692d3e7a933f50df7ee9b3fa911a0c.tar.gz
Files meant for the AUX_DIR are now in the config subdirectory.
Diffstat (limited to 'gnulib-tool')
-rwxr-xr-xgnulib-tool14
1 files changed, 10 insertions, 4 deletions
diff --git a/gnulib-tool b/gnulib-tool
index 10308918b3..a6b81eb9ac 100755
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -22,7 +22,7 @@
progname=$0
package=gnulib
-cvsdatestamp='$Date: 2003-01-13 16:03:12 $'
+cvsdatestamp='$Date: 2003-01-13 21:57:21 $'
last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'`
version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'`
@@ -318,13 +318,19 @@ func_create_testdir ()
# Create directories.
for d in `echo "$files" | sed -n -e 's,^\(.*\)/[^/]*,\1,p'`; do
- mkdir -p "$testdir/$d"
+ if test "$d" != config; then
+ mkdir -p "$testdir/$d"
+ fi
done
# Copy files.
for f in $files; do
- ln "$gnulib_dir/$f" "$testdir/$f" 2>/dev/null ||
- cp -p "$gnulib_dir/$f" "$testdir/$f"
+ case "$f" in
+ config/*) g=`echo "$f" | sed -e 's,^config/,,'` ;;
+ *) g="$f" ;;
+ esac
+ ln "$gnulib_dir/$f" "$testdir/$g" 2>/dev/null ||
+ cp -p "$gnulib_dir/$f" "$testdir/$g"
done
# Create lib/Makefile.am.