changeset 4175:ace040a2b821

Files meant for the AUX_DIR are now in the config subdirectory.
author Bruno Haible <bruno@clisp.org>
date Mon, 13 Jan 2003 21:57:21 +0000
parents 2f6daaf63f53
children 70678e78cc99
files ChangeLog gnulib-tool modules/gettext modules/iconv
diffstat 4 files changed, 21 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Jan 13 21:56:23 2003 +0000
+++ b/ChangeLog	Mon Jan 13 21:57:21 2003 +0000
@@ -1,3 +1,12 @@
+2003-01-11  Bruno Haible  <bruno@clisp.org>
+
+	* gnulib-tool (func_create_testdir): Store config/* files in the main
+	directory.
+	* config.rpath: Move to ...
+	* config/config.rpath: ... here.
+	* modules/gettext: Contains config/config.rpath, not config.rpath.
+	* modules/iconv: Likewise.
+
 2003-01-11  Bruno Haible  <bruno@clisp.org>
 
 	* modules/*: Add a description.
--- a/gnulib-tool	Mon Jan 13 21:56:23 2003 +0000
+++ b/gnulib-tool	Mon Jan 13 21:57:21 2003 +0000
@@ -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 @@
 
   # 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.
--- a/modules/gettext	Mon Jan 13 21:56:23 2003 +0000
+++ b/modules/gettext	Mon Jan 13 21:57:21 2003 +0000
@@ -20,7 +20,7 @@
 m4/stdint_h.m4
 m4/uintmax_t.m4
 m4/ulonglong.m4
-config.rpath
+config/config.rpath
 
 Depends-on:
 
--- a/modules/iconv	Mon Jan 13 21:56:23 2003 +0000
+++ b/modules/iconv	Mon Jan 13 21:57:21 2003 +0000
@@ -6,7 +6,7 @@
 m4/lib-ld.m4
 m4/lib-link.m4
 m4/lib-prefix.m4
-config.rpath
+config/config.rpath
 
 Depends-on: