[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: R: make install-lib
From: |
Marco Atzeri |
Subject: |
Re: R: make install-lib |
Date: |
Sat, 9 May 2009 22:02:33 +0000 (GMT) |
--- Sab 9/5/09, Judd Storrs <address@hidden> ha scritto:
> Da: Judd Storrs <address@hidden>
> Oggetto: Re: R: make install-lib
> A: "Marco Atzeri" <address@hidden>
> Cc: "John W. Eaton" <address@hidden>, "octave maintainers list"
> <address@hidden>
> Data: Sabato 9 maggio 2009, 15:34
> On Sat, May 9,
> 2009 at 1:00 AM, Marco Atzeri <address@hidden>
> 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