Mercurial > hg > octave-shane > gnulib-hg
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 +++ b/ChangeLog @@ -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 +++ 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 @@ # 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.