| Summary: | docproj Makefiles for web are broken for paths with spaces | ||
|---|---|---|---|
| Product: | Documentation | Reporter: | Robert Watson <rwatson> |
| Component: | Books & Articles | Assignee: | freebsd-doc (Nobody) <doc> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Robert Watson
2002-03-08 16:10:01 UTC
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? State Changed From-To: open->closed This is not a problem specific to the doc project. In fact I don't think this is a bug at all, its a conflict of using make(1) with absolute paths. State Changed From-To: closed->suspended Reopen. State Changed From-To: suspended->closed Not A Bug |