[PATCH xdm] Fix build outside of source dir. Fixes distcheck too.
Alan Coopersmith
alan.coopersmith at oracle.com
Mon Nov 7 08:53:38 PST 2011
On 11/07/11 08:05, Matthieu Herrb wrote:
> Signed-off-by: Matthieu Herrb<matthieu.herrb at laas.fr>
> ---
> Makefile.am | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Makefile.am b/Makefile.am
> index bb6b51c..e9da40f 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -45,9 +45,9 @@ systemdsystemunit_DATA = xdm.service
>
> xdm.service: xdm.service.in Makefile
> if USE_SYSTEMD_DAEMON
> - $(AM_V_GEN)$(SED) -e 's|BINDIR|$(bindir)|g'< xdm.service.in> $@
> + $(AM_V_GEN)$(SED) -e 's|BINDIR|$(bindir)|g'< ${srcdir}/xdm.service.in> $@
> else !USE_SYSTEMD_DAEMON
> - $(AM_V_GEN)$(SED) -e 's|BINDIR|$(bindir)|g' -e '/[Nn]otify/d'< xdm.service.in> $@
> + $(AM_V_GEN)$(SED) -e 's|BINDIR|$(bindir)|g' -e '/[Nn]otify/d'< ${srcdir}/xdm.service.in> $@
> endif !USE_SYSTEMD_DAEMON
>
> endif HAVE_SYSTEMD
Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Platform Engineering: X Window System
More information about the xorg-devel
mailing list