[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PATCH: make install-strip in cross-compilation environments
From: |
Alexandre Duret-Lutz |
Subject: |
Re: PATCH: make install-strip in cross-compilation environments |
Date: |
24 Jan 2001 09:59:26 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
>>> "Alexandre" == Alexandre Oliva <address@hidden> writes:
Alexandre> On Jan 23, 2001, Alexandre Duret-Lutz <address@hidden> wrote:
>> INSTALL_STRIP_PROGRAM=$$(topsrc_dir)/$(install_sh) -s
>> and then
>> install-strip:
>> $(MAKE) INSTALL_PROGRAM='$(INSTALL_STRIP_PROGRAM)' install
>> So that $(topsrc_dir) gets evaluated in the sub-make. From
>> the simulation below, it appears to work fine. The question is,
>> is it portable? I mean, will any make perform variable substitution
>> in command line arguments?
Alexandre> I don't think so. But then, you can always use:
Alexandre> INSTALL_STRIP_PROGRAM=`cd $$(top_srcdir) && pwd`/$(install_sh)
Alexandre> $(MAKE) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" install
That wouldn't work for the same reason I said what I suggested
above cannot work: $(install_sh) is not always relative to $(top_srcdir).
IMHO ${install_sh} needs to be expansed at configure time, when
it is defined.
--
Alexandre Duret-Lutz
- Re: make install-strip in cross-compilation environments, (continued)
- Re: make install-strip in cross-compilation environments, Alexandre Duret-Lutz, 2001/01/18
- Re: make install-strip in cross-compilation environments, Alexandre Oliva, 2001/01/18
- Re: make install-strip in cross-compilation environments, Tom Tromey, 2001/01/18
- Re: make install-strip in cross-compilation environments, Alexandre Oliva, 2001/01/18
- Re: make install-strip in cross-compilation environments, Alexandre Duret-Lutz, 2001/01/20
- PATCH: make install-strip in cross-compilation environments, Alexandre Duret-Lutz, 2001/01/20
- Re: PATCH: make install-strip in cross-compilation environments, Tom Tromey, 2001/01/21
- Re: PATCH: make install-strip in cross-compilation environments, Alexandre Duret-Lutz, 2001/01/22
- Re: PATCH: make install-strip in cross-compilation environments, Alexandre Duret-Lutz, 2001/01/23
- Re: PATCH: make install-strip in cross-compilation environments, Alexandre Oliva, 2001/01/23
- Re: PATCH: make install-strip in cross-compilation environments,
Alexandre Duret-Lutz <=
- PATCH(2): make install-strip in cross-compilation environments, Alexandre Duret-Lutz, 2001/01/29