R: make install-lib
Marco Atzeri
marco_atzeri at yahoo.it
Sat May 9 17:02:33 CDT 2009
--- Sab 9/5/09, Judd Storrs <storrsjm at email.uc.edu> ha scritto:
> Da: Judd Storrs <storrsjm at email.uc.edu>
> Oggetto: Re: R: make install-lib
> A: "Marco Atzeri" <marco_atzeri at yahoo.it>
> Cc: "John W. Eaton" <jwe at octave.org>, "octave maintainers list" <maintainers at octave.org>
> Data: Sabato 9 maggio 2009, 15:34
> On Sat, May 9,
> 2009 at 1:00 AM, Marco Atzeri <marco_atzeri at yahoo.it>
> wrote:
> 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
> "true" and "false" are valid shell
> commands with man pages that do what you would expect. If
> they weren't shell commands, you would get errors about
> the commands could not be found. i.e.
>
>
> if true ; then echo run ; fi
> if false ; then echo run ; fi
> if foobar ; then echo run ; fi
>
>
> --judd
Judd,
you are right.
The problem I have is not there.
It is on the 2 rows below the "if",
the rm and the install are not referring to the same file
if $(SHARED_LIBS); then \
rm -f $(DESTDIR)$(octlibdir)/$(SHLPRE)octinterp.$(SHLEXT_VER); \
$(INSTALL) $(SHLLIBPRE)octinterp.$(SHLLIB) \
$(DESTDIR)$(octlibdir)/$(SHLLIBPRE)octinterp.$(SHLLIB_VER); \
rm -f $(DESTDIR)$(octlibdir)/$(SHLLIBPRE)octinterp.$(SHLLIB); \
(cd $(DESTDIR)$(octlibdir) ; $(LN_S) $(SHLLIBPRE)octinterp.$(SHLLIB_VER) $(DESTDIR)$(octlibdir)/$(SHLLIBPRE)octinterp.$(SHLLIB)); \
the install of $(SHLPRE)octinterp.$(SHLEXT) is missing.
I need to check how was the implementation and make a patch to recover it.
Thanks for the explanation
Marco
More information about the Octave-maintainers
mailing list