X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fmk%2Fboilerplate.mk;h=ec155f0abb9ddc71bf5bf783453f1952ac36f280;hb=a99e8669e0b150a850dbd6b511bde46c8c8961e3;hp=70f40c54ed540109d8ad969eec0118c13fdc50f7;hpb=9213df4a0c5a8f121832d36d6d3afbf1c80f1a0a;p=ghc-hetmet.git diff --git a/ghc/mk/boilerplate.mk b/ghc/mk/boilerplate.mk index 70f40c5..ec155f0 100644 --- a/ghc/mk/boilerplate.mk +++ b/ghc/mk/boilerplate.mk @@ -10,6 +10,8 @@ # 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: @@ -28,12 +30,10 @@ TOP:=$(GHC_TOP) -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). +# Override $(libexecdir): we like our binaries in a subdirectory +# of $(libdir). -libdir := $(libdir)/$(ProjectNameShort)-$(ProjectVersion) -datadir := $(datadir)/$(ProjectNameShort)-$(ProjectVersion) +libexecdir := $(libdir)/extra-bin