R: make install-lib

Marco Atzeri marco_atzeri at yahoo.it
Sat May 9 00:00:06 CDT 2009


--- Ven 8/5/09, John W. Eaton <jwe at octave.org> ha scritto:

> Da: John W. Eaton <jwe at octave.org>
> Oggetto: make install-lib
> A: "Marco Atzeri" <marco_atzeri at yahoo.it>
> Cc: "octave maintainers mailing list" <maintainers at octave.org>
> Data: Venerdì 8 maggio 2009, 20:02
> On  8-May-2009, Marco Atzeri
> wrote:
> 
> | Am I wrong or in 
> | 
> | src/Makefile.in
> | liboctave/Makefile.in
> | libcruft/Makefile.in
> | 
> | at "install-lib:"
> | 
> | if $(STATIC_LIBS); then \
> | and 
> | if $(SHARED_LIBS); then \
> | 
> | should be changed in
> | 
> | ifeq ($(STATIC_LIBS), true)
> | ifeq ($(SHARED_LIBS), true)
> | 
> | forms ?
> 
> I don't think so, because the "if $(STATIC_LIBS) ..." thing
> is part of
> a shell command, so it is executed by the shell, not Make.
> 
> jwe
> 

but STATIC_LIBS ad SHARED_LIBS are now "true" or "false"
so a 

if $(STATIC_LIBS);  

will be executed in any case.
Eventually shell command  

if  test x$(STATIC_LIBS) = xtrue ;
if  test x$(SHARED_LIBS) = xtrue ;

should be used ?

Marco






      



More information about the Octave-maintainers mailing list