On Thu, Mar 18, 2010 at 10:06 PM, Yaakov (Cygwin/X)
<[email protected]> wrote:
> From: Yaakov Selkowitz <[email protected]>
>
> Signed-off-by: Yaakov Selkowitz <[email protected]>
> ---
>  hw/xwin/Makefile.am |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/hw/xwin/Makefile.am b/hw/xwin/Makefile.am
> index 6c34ddd..811cd5d 100644
> --- a/hw/xwin/Makefile.am
> +++ b/hw/xwin/Makefile.am
> @@ -196,6 +196,9 @@ xwinconfig_DATA = system.XWinrc
>
>  include $(top_srcdir)/cpprules.in
>
> +install-exec-hook:
> +       (cd $(DESTDIR)$(bindir) && rm -f X && $(LN_S) XWin$(EXEEXT) X)
> +
>  EXTRA_DIST = \
>        $(GLX_EXTRAS) \
>        $(MAN_SRCS) \

Just a note that you don't need to run the commands in a () subshell.
Make is already running this set it's own process, so you can cd
anywhere you want it it won't affect things. Anyway,

Reviewed-by: Dan Nicholson <[email protected]>

--
Dan
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to