From: sof Date: Fri, 17 Apr 1998 11:38:26 +0000 (+0000) Subject: [project @ 1998-04-17 11:38:26 by sof] X-Git-Tag: Approx_2487_patches~780 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=7161da0c4b395b4a68fdf71b96ede851748877d7;p=ghc-hetmet.git [project @ 1998-04-17 11:38:26 by sof] Workaround to prevent local build tree symlink from making it into a source dist --- diff --git a/ghc/driver/Makefile b/ghc/driver/Makefile index f4fcab7..c734719 100644 --- a/ghc/driver/Makefile +++ b/ghc/driver/Makefile @@ -101,6 +101,14 @@ install :: @$(RM) $(SCRIPT_PROG) @$(MAKE) $(MFLAGS) BIN_DIST=0 $(SCRIPT_PROG) +# +# Another hack (hmm..I can see a pattern developing here :-) +# In ghc/driver, we create a symlink from ghc- to +# ghc, but we don't want this included in a source distribution. +# We `solve' this by removing `ghc' from the dist tree here. +dist :: + @echo "Patching dist tree: removing $(SRC_DIST_DIR)/ghc symlink" + $(RM) $(SRC_DIST_DIR)/ghc # # Option vars for the special ways (that the driver has special pleading for).