[mythtv] Re: How do you stop qmake from trying to strip all installed files?

Paul mythtv at dsl.pipex.com
Mon Jul 25 16:49:08 EDT 2005


----- Original Message -----
From: "J. Donavan Stanley" <jdonavan at jdonavan.net>
To: "Development of mythtv" <mythtv-dev at mythtv.org>
Sent: Monday, July 25, 2005 7:46 PM
Subject: Re: [mythtv] Re: How do you stop qmake from trying to stripall
installed files?


> Paul wrote:
>
> >At least I have a workable solution now thanks.
> >
> >
> You had a workable solution before.  Not being able to strip those files
> doesn't hurt anything.

The only file I want to strip is the target file which is the only
executable.
There is as you say no point trying to strip the PNG image files or the
script file
that is also installed. The settings file I posted in the original message
is
creating a make file that try's to strip ALL files regardless which
generates
errors when a make install is run. I know the errors are harmless,
everything
does get installed OK.

Maybe I am trying to be a perfectionist? All I want to do is create a
settings
file that strips ONLY the target file. My intention is for this extra app to
become
part of the myth install. I think that if a user trying to install myth
starts to see errors
when they try to do a make install it will only confuse things.

Adding 'QMAKE_STRIP = echo' as suggested by Mark prevents all files
being striped including the target. How important is it that the target
executable
is stripped anyway? Adding

target.extra = strip $(TARGET); cp -f $(TARGET) $${PREFIX}/bin/$(TARGET)

makes sure the target gets stripped and is installed OK.

If you know of a better solution then please do tell.

Paul







More information about the mythtv-dev mailing list