Date: Mon, 11 Mar 2002 03:50:03 -0800 (PST) From: Peter Pentchev <roam@ringlet.net> To: freebsd-doc@freebsd.org Subject: Re: docs/35678: docproj Makefiles for web are broken for paths with spaces Message-ID: <200203111150.g2BBo3556407@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/35678; it has been noted by GNATS. From: Peter Pentchev <roam@ringlet.net> To: Robert Watson <rwatson@freebsd.org> Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: docs/35678: docproj Makefiles for web are broken for paths with spaces Date: Mon, 11 Mar 2002 13:43:21 +0200 On Fri, Mar 08, 2002 at 11:07:48AM -0500, Robert Watson wrote: > > >Number: 35678 > >Category: docs > >Synopsis: docproj Makefiles for web are broken for paths with spaces > >Originator: Robert Watson > >Environment: > System: FreeBSD sproing.gw.tislabs.com 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Tue Jan 15 11:18:08 EST 2002 rwatson@sproing.gw.tislabs.com:/usr/obj/usr/src/sys/SPROING i386 > > docproj-1.9 The "meta-port" for the FreeBSD Documentation Project > > >Description: > > When building a web page using sgml, if any segment of the file system path > for the working directory contains a space or other irregular character, > things get broken. This is not really specific to docproj, though, is it? I would think that this happens in any Makefile that refers to either the current directory or some working directory or some file by an absolute path. This stems directly from make(1)'s use of sh(1) to execute commands; I do not think it can be easily fixed :( Just as an example.. [roam@straylight:v0 /Op Sys/FreeBSD/src/bin/mkdir]$ make cleandir cd: can't cd to /Op *** Error code 2 Stop in /Op Sys/FreeBSD/src/bin/mkdir. [roam@straylight:v0 /Op Sys/FreeBSD/src/bin/mkdir]$ make -dl cleandir cd /Op Sys/FreeBSD/src/bin/mkdir && make clean cleandepend cd: can't cd to /Op *** Error code 2 Stop in /Op Sys/FreeBSD/src/bin/mkdir. [roam@straylight:v0 /Op Sys/FreeBSD/src/bin/mkdir]$ ..so it affects the source tree as well. G'luck, Peter -- Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 What would this sentence be like if pi were 3? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203111150.g2BBo3556407>