summaryrefslogtreecommitdiff
path: root/rules/build-package.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-05-29 18:01:50 +0000
committerIan Lynagh <igloo@earth.li>2009-05-29 18:01:50 +0000
commit77292516236a3fd40515c02ba3daddb9523e9256 (patch)
tree54ffb42fa0c12fc05d5febfb8a090fa9d7da4566 /rules/build-package.mk
parentc40387edc47e28241cc4f52b0fdf49e60bc234c6 (diff)
downloadhaskell-77292516236a3fd40515c02ba3daddb9523e9256.tar.gz
Make clean_libraries in the same way that we make all_libraries
Diffstat (limited to 'rules/build-package.mk')
-rw-r--r--rules/build-package.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/rules/build-package.mk b/rules/build-package.mk
index afe69ac159..8fa110f8c8 100644
--- a/rules/build-package.mk
+++ b/rules/build-package.mk
@@ -42,14 +42,15 @@ endif
ifneq "$(BINDIST) $3" "YES 0"
$(call all-target,$1,all_$1_$2)
+$(call clean-target,$1,$2,$1/$2)
# This give us things like
# all_libraries: all_libraries/base_dist-install
+# clean_libraries: clean_libraries/base_dist-install
ifneq "$$($1_$2_GROUP)" ""
all_$$($1_$2_GROUP): all_$1_$2
+clean_$$($1_$2_GROUP): clean_$1_$2
endif
-$(call clean-target,$1,$2,$1/$2)
-
distclean : clean_$1_$2_config
maintainer-clean : distclean