bug-make
[Top][All Lists]
Advanced

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

Re: [GNU make-3.80] .SILENT target and -s option ignored in submakes


From: Claudio Fontana
Subject: Re: [GNU make-3.80] .SILENT target and -s option ignored in submakes
Date: Sat, 9 Jul 2005 23:56:40 -0700 (PDT)

Hello Paul,

thank you for your response.

--- "Paul D. Smith" <address@hidden> wrote:
>   cf> I thought that the -s option should be
> stronger than
>   cf> the submake implicit -w option:
> 
> It is.  This works fine for me, as documented.
> 
> You're going to have to provide a complete example
> that can reproduce
> the problem; your email just gives some snippets and
> my attempt to
> reproduce it with a simple makefile failed:
> 
>   $ cat Makefile
>   recurse: ; @$(MAKE) -s print
>   print: ; @echo hi
> 
>   $ make
>   hi
> 
> ???
> 
> Doesn't this work properly for you?

This small example works for me too, and I am puzzled.
I am sending you the concrete example where it behaves
strangely. It is a snapshot of an experimental version
of GNU sourceinstall.

Just extract the tarball, then run

$ ./configure --prefix=/tmp or whatever you want
$ make
$ make install

Do not care about what gets installed in prefix, it's
completely OT. What is important is what gets
installed in your $(HOME)/.sourceinstall directory:

$ tree ~/.sourceinstall

.sourceinstall/
|-- build
|-- install-destdir
|-- packages
|   `-- sourceinstall
|-- sourceinstallrc
`-- src
    `-- sourceinstall.tar.gz

Ignore everything but the
~/.sourceinstall/packages/sourceinstall file, which is
generated at make install time.

See Makefile.am (the install-data-hook target in
particular) and the generated Makefile for the logic
that generates it.

Here I get a ~/.sourceinstall/packages/sourceinstall
file polluted by make(n): entering directory `foo'
messages.

The messages I currently echo in the description and
long-description targets are meant to contain even
more stuff, all of which is dependent on information
available only at make time (like $(DESTDIR)). That is
why I am doing this crazy thing.

I am sorry that the test case is not straightforward,
but the simpler case seems to work correctly.
Please ask me any other info you might consider
useful. 

Thanks for your help,

Claudio

attached: sourceinstall-0.3-claudio.tar.gz


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Attachment: sourceinstall-0.3-claudio.tar.gz
Description: 1222416242-sourceinstall-0.3-claudio.tar.gz


reply via email to

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