* gnulib-tool: Rename --symlink to --symbolic.
+2005-04-15 Simon Josefsson <jas@extundo.com>
+
+ * gnulib-tool: Rename --symlink to --symbolic.
+
2005-04-15 Oskar Liljeblad <oskar@osk.mine.nu>
* gnulib-tool: Add -s, --symlink option to gnulib-tool to make
2005-04-15 Oskar Liljeblad <oskar@osk.mine.nu>
* gnulib-tool: Add -s, --symlink option to gnulib-tool to make
progname=$0
package=gnulib
progname=$0
package=gnulib
-cvsdatestamp='$Date: 2005-04-15 09:06:26 $'
+cvsdatestamp='$Date: 2005-04-15 09:10:09 $'
last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'`
version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'`
last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'`
version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'`
--libtool Use libtool rules, for --import.
--no-changelog don't update or create ChangeLog files
--dry-run For --import, only print what would have been done.
--libtool Use libtool rules, for --import.
--no-changelog don't update or create ChangeLog files
--dry-run For --import, only print what would have been done.
- --symlink Make symbolic links instead of copying files.
+ --symbolic Make symbolic links instead of copying files.
Report bugs to <bug-gnulib@gnu.org>."
}
Report bugs to <bug-gnulib@gnu.org>."
}
lgpl=
do_changelog=:
dry_run=
lgpl=
do_changelog=:
dry_run=
--dry-run )
dry_run=true
shift ;;
--dry-run )
dry_run=true
shift ;;
- --symlink )
- symlink=true
+ --symbolic )
+ symbolic=true
shift ;;
--help | --hel | --he | --h )
func_usage
shift ;;
--help | --hel | --he | --h )
func_usage
# - libtool true if libtool will be used, blank otherwise
# - lgpl true if library's license shall be LGPL, blank otherwise
# - dry_run true if actions shall only be printed, blank otherwise
# - libtool true if libtool will be used, blank otherwise
# - lgpl true if library's license shall be LGPL, blank otherwise
# - dry_run true if actions shall only be printed, blank otherwise
-# - symlink true if files should be symlinked, copied otherwise
+# - symbolic true if files should be symlinked, copied otherwise
# - supplied_opts all options passed to gnulib-tool
func_import ()
{
# - supplied_opts all options passed to gnulib-tool
func_import ()
{
m4/*) g=`echo "$f" | sed -e "s,^m4/,$m4base/,"` ;;
*) g="$f" ;;
esac
m4/*) g=`echo "$f" | sed -e "s,^m4/,$m4base/,"` ;;
*) g="$f" ;;
esac
- if test -z "$symlink"; then
+ if test -z "$symbolic"; then
func_cp_if_changed "$gnulib_dir/$f" "$destdir/$g"
else
func_ln_if_changed "$gnulib_dir/$f" "$destdir/$g"
func_cp_if_changed "$gnulib_dir/$f" "$destdir/$g"
else
func_ln_if_changed "$gnulib_dir/$f" "$destdir/$g"
*) g="$f" ;;
esac
ln "$gnulib_dir/$f" "$testdir/$g" 2>/dev/null ||
*) g="$f" ;;
esac
ln "$gnulib_dir/$f" "$testdir/$g" 2>/dev/null ||
- if test -z "$symlink"; then
+ if test -z "$symbolic"; then
cp -p "$gnulib_dir/$f" "$testdir/$g"
else
ln -s "$gnulib_dir/$f" "$testdir/$g"
cp -p "$gnulib_dir/$f" "$testdir/$g"
else
ln -s "$gnulib_dir/$f" "$testdir/$g"