+2003-02-19 Richard Dawe <rich@phekda.freeserve.co.uk>
+
+ * lib/am/distdir.am (distcheck): Strip any leading DOS drive
+ from dc_install_base.
+
2003-02-19 Alexandre Duret-Lutz <adl@gnu.org>
* lib/am/texinfos.am (install-info-am, uninstall-info-am): Install
## automake - create Makefile.in from Makefile.am
-## Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
+## Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
mkdir $(distdir)/_inst
## Undo the write access.
chmod a-w $(distdir)
- dc_install_base=`$(am__cd) $(distdir)/_inst && pwd` \
+## Compute the absolute path of `_inst'. Strip any leading DOS drive
+## to allow DESTDIR installations. Otherwise $(DESTDIR)$(prefix) would
+## expand to c:/temp/am-dc-5668/c:/src/package/package-1.0/_inst.
+ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
## We will attemp a DESTDIR install in $dc_destdir. We don't
## create this directory under $dc_install_base, because it would
## create very long directory names.