a simple tool to display packages that have multiple modules defined in their <>...
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 2 Jul 2010 10:14:51 +0000 (12:14 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 2 Jul 2010 10:14:51 +0000 (12:14 +0200)
Makefile

index c9bd923..8b3410b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -781,6 +781,9 @@ info: info-packages info-modules info-branches
 
 .PHONY: info info-packages info-modules info-branches module-tools
 
+show-multi-modules:
+       @$(foreach package,$(ALL),$(if $(subst x1,,x$(words $($(package)-MODULES))), echo p=$(package) mods=$($(package)-MODULES) ;))
+.PHONY: show-multi-modules
 ####################
 help:
        @echo "********** Run make in two stages:"