bug-automake
[Top][All Lists]
Advanced

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

Re: install-strip target does not work when using nobase_ prefix


From: Akim Demaille
Subject: Re: install-strip target does not work when using nobase_ prefix
Date: Tue, 21 Oct 2003 17:33:17 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

 > Index: lib/am/install.am
 > ===================================================================
 > RCS file: /cvs/automake/automake/lib/am/install.am,v
 > retrieving revision 1.10.2.2
 > diff -u -r1.10.2.2 install.am
 > --- lib/am/install.am        17 May 2003 11:32:32 -0000      1.10.2.2
 > +++ lib/am/install.am        21 Oct 2003 13:03:31 -0000
 > @@ -65,9 +65,16 @@
 >  ## directory.
 >  .PHONY: install-strip
 >  install-strip:
 > +## Beware that they are two variables used to install programs:
 > +##   INSTALL_PROGRAM is used for ordinary *_PROGRAMS
 > +##   install_sh_PROGRAM us used for nobase_*_PROGRAMS (because install-sh

s/us/is/

 > +##                                                     creates directories)
 > +## It's OK to override both with INSTALL_STRIP_PROGRAM, because
 > +## INSTALL_STRIP_PROGRAM uses install-sh (see m4/strip.m4 for a rational).
 > +##
 >  ## Use double quotes here because we might need to interpolate some
 >  ## backquotes at runtime.
 >      $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
 > -      INSTALL_STRIP_FLAG=-s \
 > +      install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
 >        `test -z '$(STRIP)' || \
 >          echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install




reply via email to

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