From 4ee978d10e304a85df4077f7fcb8e6c79af5ebc6 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Thu, 19 Nov 2009 16:05:27 +0000 Subject: [PATCH] Add a rule to allow us to sdist libraries easily --- ghc.mk | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ghc.mk b/ghc.mk index 346e561..3dece18 100644 --- a/ghc.mk +++ b/ghc.mk @@ -1081,6 +1081,15 @@ SRC_CC_OPTS += -I$(GHC_INCLUDE_DIR) endif # ----------------------------------------------------------------------------- +# sdisting libraries + +# Use manually, with e.g.: +# make sdist_directory + +sdist_%: + inplace/bin/ghc-cabal sdist libraries/$* dist-install + +# ----------------------------------------------------------------------------- # Cleaning .PHONY: clean -- 1.7.10.4