# Remember, TOP is the top level of the innermost level
# (FPTOOLS_TOP is the fptools top)
+-include $(TOP)/mk/version.mk
+
# We need to set TOP to be the TOP that the next level up expects!
# The TOP variable is reset after the inclusion of the fptools
# boilerplate, so we stash TOP away first:
-include $(TOP)/mk/paths.mk
-include $(TOP)/mk/opts.mk
--include $(TOP)/mk/version.mk
-include $(TOP)/mk/suffix.mk
-
-# -----------------------------------------------------------------
-# Override $(libdir) and $(datadir), so GHC stuff gets installed
-# into a suitable subdirectory of $(libdir).
-
-libdir := $(libdir)/$(ProjectNameShort)-$(ProjectVersion)
-datadir := $(datadir)/$(ProjectNameShort)-$(ProjectVersion)
+-include $(TOP)/mk/suffix.mk