X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=distrib%2FMakefile;h=f1d63bc28edf7251d1877a344e7e69160b124339;hb=46809fa91667e952afe016e4cd704b21274241b4;hp=ae0186e66fcbec1200d5f3dc3aa0c59c75b88539;hpb=f26ce77a29d2dd870dc8af819eec8536e67d4301;p=ghc-hetmet.git diff --git a/distrib/Makefile b/distrib/Makefile index ae0186e6..f1d63bc 100644 --- a/distrib/Makefile +++ b/distrib/Makefile @@ -19,12 +19,15 @@ install-strip: install :: $(INSTALL_DIR) $(bindir) + $(INSTALL_DIR) $(datadir) + echo "[]" > $(datadir)/package.conf install:: $(MAKE) -C includes install DOING_BIN_DIST=YES $(MAKE) -C utils install DOING_BIN_DIST=YES $(MAKE) -C rts install DOING_BIN_DIST=YES $(MAKE) -C libraries install DOING_BIN_DIST=YES + $(MAKE) -C libffi install DOING_BIN_DIST=YES $(MAKE) -C compiler install DOING_BIN_DIST=YES $(MAKE) -C ghc install DOING_BIN_DIST=YES $(MAKE) -C driver install DOING_BIN_DIST=YES @@ -37,14 +40,14 @@ install :: postinstall denounce # Look to see if $(bindir) is in $(PATH). Assumes there are no funky # characters. -GREPPED_PATH=$(shell echo "$(PATH)" | grep "\(^\|:\)$(bindir)\(:\|$$\)") +GREPPED_PATH=$(shell echo ":$(PATH):" | grep ":$(bindir):") denounce: @echo @echo ======================================================================= @echo Installation of $(package)-$(version) was successful. @echo -ifneq "$(GREPPED_PATH)" "" +ifeq "$(GREPPED_PATH)" "" @echo To use, add $(bindir) to your PATH. @echo endif