projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Configurable iconv header and library locations
[ghc-hetmet.git]
/
rules
/
build-package.mk
diff --git
a/rules/build-package.mk
b/rules/build-package.mk
index
e80baa0
..
8e81389
100644
(file)
--- a/
rules/build-package.mk
+++ b/
rules/build-package.mk
@@
-49,6
+49,14
@@
ifneq "$$($1_$2_GROUP)" ""
all_$$($1_$2_GROUP): all_$1_$2
endif
all_$$($1_$2_GROUP): all_$1_$2
endif
+ifneq "$$(CHECKED_$1)" "YES"
+CHECKED_$1 = YES
+check_packages: check_$1
+.PHONY: check_$1
+check_$1: $$(GHC_CABAL_INPLACE)
+ $$(GHC_CABAL_INPLACE) check $1
+endif
+
distclean : clean_$1_$2_config
maintainer-clean : distclean
distclean : clean_$1_$2_config
maintainer-clean : distclean
@@
-150,7
+158,7
@@
endif # package-data.mk exists
# Don't put bootstrapping packages in the bindist
ifneq "$3" "0"
# Don't put bootstrapping packages in the bindist
ifneq "$3" "0"
-BINDIST_EXTRAS += $1/*.cabal $1/*.buildinfo $1/$2/setup-config $1/LICENSE
+BINDIST_EXTRAS += $1/*.cabal $$(wildcard $1/*.buildinfo) $1/$2/setup-config $1/LICENSE
BINDIST_EXTRAS += $$($1_$2_INSTALL_INCLUDES_SRCS)
endif
BINDIST_EXTRAS += $$($1_$2_INSTALL_INCLUDES_SRCS)
endif