is it normal that the variables contain 'bindir' and their value is 
$(libdir) ?

Vincent

On Mon, 4 Apr 2011, Enlightenment SVN wrote:

> Log:
> elsa: fix prefix binaries
>
> Author:       yoz
> Date:         2011-04-04 09:42:41 -0700 (Mon, 04 Apr 2011)
> New Revision: 58336
> Trac:         http://trac.enlightenment.org/e/changeset/58336
>
> Modified:
>  trunk/PROTO/elsa/src/bin/Makefile.am trunk/PROTO/elsa/src/daemon/Makefile.am 
> trunk/PROTO/elsa/src/daemon/elsa.c
>
> Modified: trunk/PROTO/elsa/src/bin/Makefile.am
> ===================================================================
> --- trunk/PROTO/elsa/src/bin/Makefile.am      2011-04-04 16:34:18 UTC (rev 
> 58335)
> +++ trunk/PROTO/elsa/src/bin/Makefile.am      2011-04-04 16:42:41 UTC (rev 
> 58336)
> @@ -8,7 +8,8 @@
> -DSYSTEM_CONFIG_DIR=\"$(sysconfdir)\" \
> @ELSA_CLIENT_CFLAGS@
>
> -bin_PROGRAMS = elsa_client
> +internal_bindir=$(libdir)/elsa
> +internal_bin_PROGRAMS = elsa_client
>
> elsa_client_SOURCES = \
> ../event/elsa_event.h \
>
> Modified: trunk/PROTO/elsa/src/daemon/Makefile.am
> ===================================================================
> --- trunk/PROTO/elsa/src/daemon/Makefile.am   2011-04-04 16:34:18 UTC (rev 
> 58335)
> +++ trunk/PROTO/elsa/src/daemon/Makefile.am   2011-04-04 16:42:41 UTC (rev 
> 58336)
> @@ -6,10 +6,14 @@
> -I$(top_builddir)/src/daemon \
> -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
> -DSYSTEM_CONFIG_DIR=\"$(sysconfdir)\" \
> +-DPACKAGE_BIN_DIR=\"$(libdir)/$(PACKAGE)\" \
> @ELSA_CFLAGS@
>
> -sbin_PROGRAMS = elsa elsa_wait
> +sbin_PROGRAMS = elsa
>
> +internal_bindir=$(libdir)/elsa
> +internal_bin_PROGRAMS = elsa_wait
> +
> elsa_SOURCES =     \
> elsa_config.h      \
> elsa_config.c      \
> @@ -33,5 +37,5 @@
> elsa_wait.c         \
> elsa_pam.c
>
> -elsa_wait_LDFLAGS =
> +elsa_wait_LDFLAGS =
> elsa_wait_LDADD = -lpam
>
> Modified: trunk/PROTO/elsa/src/daemon/elsa.c
> ===================================================================
> --- trunk/PROTO/elsa/src/daemon/elsa.c        2011-04-04 16:34:18 UTC (rev 
> 58335)
> +++ trunk/PROTO/elsa/src/daemon/elsa.c        2011-04-04 16:42:41 UTC (rev 
> 58336)
> @@ -125,7 +125,7 @@
> {
>    char buf[16]; /* I think is sufisant ... */
>    snprintf(buf, sizeof(buf), "%d", pid);
> -   execl("/usr/sbin/elsa_wait", "/usr/sbin/elsa",
> +   execl(PACKAGE_BIN_DIR"/elsa_wait", "elsa",
>          buf, elsa_session_login_get(), display, session_end, NULL);
>    fprintf(stderr, PACKAGE": HUM HUM HUM ...\n\n\n");
> }
> @@ -138,7 +138,7 @@
>      {
>      ecore_event_handler_add(ECORE_EXE_EVENT_DEL,
>                              _elsa_client_del, NULL);
> -     _elsa_client = ecore_exe_run("elsa_client -d ':0.0'", NULL);
> +     _elsa_client = ecore_exe_run(PACKAGE_BIN_DIR"/elsa_client -d ':0.0'", 
> NULL);
>      }
>    else
>      ecore_main_loop_quit();
>
>
> ------------------------------------------------------------------------------
> Create and publish websites with WebMatrix
> Use the most popular FREE web apps or write code yourself;
> WebMatrix provides all the features you need to develop and
> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
> _______________________________________________
> enlightenment-svn mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>
>

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to