Commit 4ee978d1 authored by Ian Lynagh's avatar Ian Lynagh

Add a rule to allow us to sdist libraries easily

parent a6f61eee
......@@ -1080,6 +1080,15 @@ SRC_CC_OPTS += -D__GLASGOW_HASKELL__=$(ProjectVersionInt)
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment