From: Ian Lynagh Date: Thu, 19 Nov 2009 16:05:27 +0000 (+0000) Subject: Add a rule to allow us to sdist libraries easily X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=4ee978d10e304a85df4077f7fcb8e6c79af5ebc6 Add a rule to allow us to sdist libraries easily --- 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