Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Dec 1999 01:57:24 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Marcel Moolenaar <marcel@scc.nl>
Cc:        "Stephen J. Roznowski" <sjr@home.net>, freebsd-bugs@FreeBSD.ORG, marcel@FreeBSD.ORG
Subject:   Re: Problem building -current (gnu/usr.bin/binutils/doc)
Message-ID:  <Pine.BSF.4.10.9912200146050.7602-100000@alphplex.bde.org>
In-Reply-To: <385CC6B0.F14A86B0@scc.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 19 Dec 1999, Marcel Moolenaar wrote:

> > "-b .orig" is used to avoid pollution in the environment (I use
> > SIMPLE_BACKUP_PREFIX="~").  It might be better to kill most of the
> > environment.
> 
> Hmmm... is forcing `.orig' as the suffix not against POLA? I mean, if

It doesn't matter in a temporary directory.

> someone has SIMPLE_BACKUP_PREFIX in his/her environment, then he/she
> expects to find a backup file with that prefix. The makefile can easily
> be rewritten as (with cut-n-paste corruption):

Not so easily.  The user's SIMPLE_BACKUP_PREFIX may change, so setting
CLEANFILES is problematic.

> Index: Makefile
>  ...
> -CLEANFILES= gdb-cfg.texi inc-hist.texi inc-hist.texi.orig
> +CLEANFILES= gdb-cfg.texi inc-hist.texi

This just breaks CLEANFILES.  "inc-hist.text*" would risk clobbering
the source file inc-hist.texi (but is safe here because the source file
is in another directory).

Bruce



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9912200146050.7602-100000>