summaryrefslogtreecommitdiff
path: root/hw/xwin/Makefile.am
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>2010-03-18 23:19:20 -0500
committerYaakov Selkowitz <yselkowitz@users.sourceforge.net>2010-03-22 00:48:33 -0500
commitc3da76643aeebdd24047e3e14a860507eac37ec3 (patch)
treedfc580d6c09132056fad0080166b8757acbd89ec /hw/xwin/Makefile.am
parentabf4e0b7e349b0238b2b97a16b8a308b5026af31 (diff)
Cygwin/X: Make X -> XWin symlink during install
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Diffstat (limited to 'hw/xwin/Makefile.am')
-rw-r--r--hw/xwin/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/xwin/Makefile.am b/hw/xwin/Makefile.am
index 0577300fa..89b021b22 100644
--- a/hw/xwin/Makefile.am
+++ b/hw/xwin/Makefile.am
@@ -194,6 +194,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) \