[MLton-commit] r4288

Stephen Weeks MLton@mlton.org
Thu, 8 Dec 2005 08:31:55 -0800


Changed paths for Cygwin package.

----------------------------------------------------------------------

U   mlton/trunk/Makefile

----------------------------------------------------------------------

Modified: mlton/trunk/Makefile
===================================================================
--- mlton/trunk/Makefile	2005-12-06 02:10:53 UTC (rev 4287)
+++ mlton/trunk/Makefile	2005-12-08 16:31:53 UTC (rev 4288)
@@ -351,6 +351,9 @@
 # puts them.
 DESTDIR = $(CURDIR)/install
 PREFIX = /usr
+ifeq ($(TARGET_OS), cygwin)
+PREFIX = /
+endif
 ifeq ($(TARGET_OS), darwin)
 PREFIX = /usr/local
 endif
@@ -367,6 +370,9 @@
 TLIB = $(DESTDIR)$(prefix)/$(ULIB)
 TMAN = $(DESTDIR)$(prefix)$(MAN_PREFIX_EXTRA)/man/man1
 TDOC = $(DESTDIR)$(prefix)/share/doc/mlton
+ifeq ($(TARGET_OS), cygwin)
+TDOC = $(DESTDIR)$(prefix)/usr/share/doc/mlton
+endif
 ifeq ($(TARGET_OS), solaris)
 TDOC = $(DESTDIR)$(prefix)/doc/mlton
 endif