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:
c40387e
)
Make clean_libraries in the same way that we make all_libraries
author
Ian Lynagh
<igloo@earth.li>
Fri, 29 May 2009 18:01:50 +0000
(18:01 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Fri, 29 May 2009 18:01:50 +0000
(18:01 +0000)
rules/build-package.mk
patch
|
blob
|
history
diff --git
a/rules/build-package.mk
b/rules/build-package.mk
index
afe69ac
..
8fa110f
100644
(file)
--- 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)
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
# 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
ifneq "$$($1_$2_GROUP)" ""
all_$$($1_$2_GROUP): all_$1_$2
+clean_$$($1_$2_GROUP): clean_$1_$2
endif
endif
-$(call clean-target,$1,$2,$1/$2)
-
distclean : clean_$1_$2_config
maintainer-clean : distclean
distclean : clean_$1_$2_config
maintainer-clean : distclean