Call the final build system phase "final" rather than ""
[ghc-hetmet.git] / docs / man / ghc.mk
index 6775c55..96fef2d 100644 (file)
@@ -39,7 +39,7 @@ docs/man/flags.xml: docs/users_guide/flags.xml
        sed 1d $< >> $@
 
 ifeq "$(BUILD_MAN)" "YES"
-ifeq "$(phase)" ""
+ifeq "$(phase)" "final"
 $(eval $(call all-target,docs/man,$(MAN_PATH)))
 endif