TOP = @hardtop@
include $(TOP)/mk/project.mk
-include $(TOP)/mk/install.mk
################################################################################
#
RelocatableBuild = NO
endif
+# needs to be after $(RelocatableBuild) is set above
+include $(TOP)/mk/install.mk
+
# When building bindists we set this to yes so that the binaries are as
# portable as possible.
BeConservative = NO
pdfdir = $(docdir)
psdir = $(docdir)
-topdir = $(libdir)
+ghclibdir = $(libdir)
+ghcdocdir = $(datarootdir)/doc
else
# where package.conf is, so we just set it globally).
#
ghclibdir = $(libdir)/ghc-$(ProjectVersion)
-ghclibexecdir = $(ghclibdir)
-topdir = $(ghclibdir)
ghcdocdir = $(datarootdir)/doc/ghc
endif
+ghclibexecdir = $(ghclibdir)
+topdir = $(ghclibdir)
ghcheaderdir = $(ghclibdir)/include
#-----------------------------------------------------------------------------