From 7161da0c4b395b4a68fdf71b96ede851748877d7 Mon Sep 17 00:00:00 2001 From: sof <unknown> Date: Fri, 17 Apr 1998 11:38:26 +0000 Subject: [PATCH] [project @ 1998-04-17 11:38:26 by sof] Workaround to prevent local build tree symlink from making it into a source dist --- ghc/driver/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ghc/driver/Makefile b/ghc/driver/Makefile index f4fcab7487e4..c7347194b971 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-<whatever-version> 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). -- GitLab