projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a6f61ee
)
Add a rule to allow us to sdist libraries easily
author
Ian Lynagh
<igloo@earth.li>
Thu, 19 Nov 2009 16:05:27 +0000
(16:05 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Thu, 19 Nov 2009 16:05:27 +0000
(16:05 +0000)
ghc.mk
patch
|
blob
|
history
diff --git
a/ghc.mk
b/ghc.mk
index
346e561
..
3dece18
100644
(file)
--- a/
ghc.mk
+++ b/
ghc.mk
@@
-1081,6
+1081,15
@@
SRC_CC_OPTS += -I$(GHC_INCLUDE_DIR)
endif
# -----------------------------------------------------------------------------
endif
# -----------------------------------------------------------------------------
+# sdisting libraries
+
+# Use manually, with e.g.:
+# make sdist_directory
+
+sdist_%:
+ inplace/bin/ghc-cabal sdist libraries/$* dist-install
+
+# -----------------------------------------------------------------------------
# Cleaning
.PHONY: clean
# Cleaning
.PHONY: clean