Add more targets to the list that we need to include all libraries for
[ghc-hetmet.git] / libraries / Makefile
index 6954659..46e90d9 100644 (file)
@@ -48,7 +48,7 @@ endif
 ifeq "$(stage)" "2"
 DO_STAGE_2_LIBS := YES
 endif
-ifneq "$(filter install clean,$(MAKECMDGOALS))" ""
+ifneq "$(filter install clean maintainer-clean distclean binary-dist,$(MAKECMDGOALS))" ""
 DO_STAGE_1_LIBS := YES
 DO_STAGE_2_LIBS := YES
 endif