X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=distrib%2FMacOS%2FMakefile;h=3928d34fa71ae26c851c184d2ad9f49630922a14;hb=edeee10702955ca3c53444f2f328b4cce0ab3e32;hp=d17e384d73ea91adb1706cd1f84ac811a6a3cc7c;hpb=2659a01009d7e1cf20aad947c2e6df0396407ff7;p=ghc-hetmet.git diff --git a/distrib/MacOS/Makefile b/distrib/MacOS/Makefile index d17e384..3928d34 100644 --- a/distrib/MacOS/Makefile +++ b/distrib/MacOS/Makefile @@ -20,8 +20,13 @@ # ############################################################################ -TOP=../.. -include $(TOP)/mk/boilerplate.mk +include ../../mk/config.mk + +ifeq "$(ProjectVersion)" "" +$(error Please run ./configure first) +endif + +include ../../mk/custom-settings.mk # The ProjectVersionInt is GHC's idea of an API version and hence determines # the framework version. @@ -96,7 +101,7 @@ framework-pkg: COMMAND_MODE=unix2003 -$(RM) -f GHC-system.pmdoc/*-contents.xml $(PACKAGEMAKER) -v --doc GHC-system.pmdoc\ - $(PACKAGEMAKER_TARGET) -o $(TOP)/$(PACKAGE_NAME) + $(PACKAGEMAKER_TARGET) -o $(TOP)/$(PACKAGE_NAME) -i org.haskell.GHC # If we don't specify COMMAND_MODE=unix2003 then xcodebuild defaults # to setting it to legacy, which means that ar builds archives