bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-readline] bug with make distclean


From: Chet Ramey
Subject: Re: [Bug-readline] bug with make distclean
Date: Mon, 21 Dec 2009 13:05:23 -0500
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0

On 12/18/09 11:15 AM, THOUMIN Damien wrote:
> Hi all,
> 
>  
> 
> I’m with the latest version of readline (readline-6.0).
> 
> I invoked building with :
> 
> cd /full/path/to/readline
> 
> ./configure --prefix=$(shell _pwd_)
> 
> make
> 
>  
> 
> All work  perfectly.
> 
> Next, to clean my work, I do “make distclean” and it remove some files
> in doc/ because of the rule:
> 
> maybe-clean:
> 
>       -if test "X$(topdir)" != "X$(BUILD_DIR)"; then \
> 
>             $(RM) $(*DIST_DOCS*); \
> 
>       fi
> 
>  
> 
> In doc/Makefile, I have :
> 
> topdir = ..
> 
> BUILD_DIR = /full/path/to/readline/
> 
>  
> 
> We can see that, the string is really different but point to the same
> directory!
> 
> It is possible to fix this problem with some options in the ‘configure’?

The idea is that, since the documentation is shipped in the readline
tarball, we should only remove it if we're building in a directory other
than the source directory.  I suppose I could add a check for
"topdir == .." to catch building in the source directory.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]