Re: [PATCH weston] Automatically generate weston.ini with the right paths

2013-11-27 Thread Kristian Høgsberg
On Sat, Nov 23, 2013 at 09:22:25AM +, Neil Roberts wrote: > Kristian Høgsberg writes: > > > That's a nice idea. Could we just generate it from configure.ac by > > listing it in AC_CONFIG_FILES? > > Sadly that doesn't work because the autoconf expansions still include > variables for make. E

Re: [PATCH weston] Automatically generate weston.ini with the right paths

2013-11-23 Thread Neil Roberts
Kristian Høgsberg writes: > That's a nice idea. Could we just generate it from configure.ac by > listing it in AC_CONFIG_FILES? Sadly that doesn't work because the autoconf expansions still include variables for make. Eg, @bindir@ expands to ${exec_prefix}/bin. I think that is needed so that yo

Re: [PATCH weston] Automatically generate weston.ini with the right paths

2013-11-22 Thread Kristian Høgsberg
On Fri, Nov 22, 2013 at 04:46:00PM +, Neil Roberts wrote: > Previously weston.ini had hardcoded paths for the weston-* clients in > /usr/bin and /usr/libexec. This was a bit annoying when testing Weston > because you wouldn't usually install those in the system prefix. This > patch adds a make

[PATCH weston] Automatically generate weston.ini with the right paths

2013-11-22 Thread Neil Roberts
Previously weston.ini had hardcoded paths for the weston-* clients in /usr/bin and /usr/libexec. This was a bit annoying when testing Weston because you wouldn't usually install those in the system prefix. This patch adds a make rule to automatically generate weston.ini from a template file with so