# Insert the commands and the library directory into the man page
flags.xsl: gen_flags.xsl.pl
- perl gen_flags.xsl.pl "$(GHC_COMMANDS)" "$(libdir)" > $@
+ $(PERL) gen_flags.xsl.pl "$(GHC_COMMANDS)" "$(libdir)" > $@
# Re-use the flags documentation from the user's guide by injecting some
# entities after the XML declaration to make it a stand-alone document.
endif
-binary-dist:: $(MAN_PAGE).$(MAN_SECTION)
- $(MKDIRHIER) $(BIN_DIST_DIR)/docs/man
- cp Makefile $(BIN_DIST_DIR)/docs/man/
-ifneq "$(strip $(XSLTPROC))" ""
- cp $(MAN_PAGE).$(MAN_SECTION) $(BIN_DIST_DIR)/docs/man/
-endif
+include $(TOP)/mk/bindist.mk
include $(TOP)/mk/target.mk