[project @ 2001-10-29 12:00:06 by rrt]
authorrrt <unknown>
Mon, 29 Oct 2001 12:00:06 +0000 (12:00 +0000)
committerrrt <unknown>
Mon, 29 Oct 2001 12:00:06 +0000 (12:00 +0000)
Set libdir to prefix on Windows only. Windows install paths are
currently different from those used under Unix, and it's probably best
to change the layout of the InstallShield to match Unix in the long
term. For now, just Make It Work.

mk/config.mk.in

index 2f52bad..02435e8 100644 (file)
@@ -456,7 +456,11 @@ datadir                    = @datadir@
 #sysconfdir            = @datadir@
 #sharedstatedir                = @sharedstatedir@
 #localstatedir         = @localstatedir@
+ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
 libdir                 = @libdir@
+else
+libdir                  = @prefix@
+endif
 includedir             = @includedir@
 oldincludedir          = @oldincludedir@
 mandir                 = @mandir@
@@ -468,8 +472,10 @@ mandir                     = @mandir@
 # override libdir and datadir to put project-specific stuff in
 # a subdirectory with the version number included.
 #
+ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
 libdir     := $(if $(ProjectNameShort),$(libdir)/$(ProjectNameShort)-$(ProjectVersion),$(libdir))
 datadir    := $(if $(ProjectNameShort),$(datadir)/$(ProjectNameShort)-$(ProjectVersion),$(datadir))
+endif
 
 # 
 # Default values for most of the above are only set if