Received: (at submit) by bugs.debian.org; 3 Sep 1999 00:32:35 +0000 Received: (qmail 21836 invoked from network); 3 Sep 1999 00:32:32 -0000 Received: from gama.web4u.com.br (200.244.50.4) by master.debian.org with SMTP; 3 Sep 1999 00:32:32 -0000 Received: from cesarb2.cesarb.personal.intranet (mail@nas0d20.web4u.com.br [200.244.50.213]) by gama.web4u.com.br (8.8.7/8.8.7) with ESMTP id VAA19976; Thu, 2 Sep 1999 21:38:35 -0300 Received: from cesarb by cesarb2.cesarb.personal.intranet with local (Exim 2.05 #1 (Debian)) id 11Mgt3-0000Hf-00; Thu, 2 Sep 1999 21:07:25 -0300 From: cesarb@web4u.com.br Subject: automake: automake's distcheck doesn't work in dirs with spaces To: submit@bugs.debian.org X-Mailer: bug 3.1.7 Reply-To: cesarb@web4u.com.br Message-Id: Sender: Cesar Eduardo Barros Date: Thu, 2 Sep 1999 21:07:25 -0300 Package: automake Version: 1.3-2 If the current dir's path has spaces in its name, automake's distcheck doesn't work. It fails to quote the string when calling automake to include the dependencies (uses --build-dir=$here instead of --build-dir="$here", and the same problem is in --output_dir). Fixing it using double quotes will, however, cause trouble if the current dir's path has a double quote in its name. Besides, the same quoting problem is probably found in other places in automake. Here's a transcript: cesarb2:~/projects/ufrj/1999/2/Computacao\ II/trab1/src$ make distcheck rm -rf trab1-0alpha0 mkdir trab1-0alpha0 chmod 777 trab1-0alpha0 here=`cd . && pwd`; \ top_distdir=`cd trab1-0alpha0 && pwd`; \ distdir=`cd trab1-0alpha0 && pwd`; \ cd . \ && automake --include-deps --build-dir=$here --srcdir-name=. --output-dir=$top_distdir --foreign Makefile automake: II/trab1/src.am: `II/trab1/src.am' does not exist automake: II/trab1/src/trab1-0alpha0.am: `II/trab1/src/trab1-0alpha0.am' does not exist automake: Makefile.in: cannot write: No such file or directory make: *** [distdir] Error 1 -- System Information Debian Release: 2.1 Kernel Version: Linux cesarb2 2.2.12 #1 Fri Aug 27 13:56:08 EST 1999 i586 unknown