X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=docs%2Fman%2FMakefile;h=21e60e2df8f17f348719db09a8263399469a8de4;hb=367e603d0136436e783ff9ed610809bf87376262;hp=7fa112d82c7dc2451975c7ae3fe56ae56f2d4f5b;hpb=23a75f76eb39cc24cc5fc046ba7ae36a3221c320;p=ghc-hetmet.git diff --git a/docs/man/Makefile b/docs/man/Makefile index 7fa112d..21e60e2 100644 --- a/docs/man/Makefile +++ b/docs/man/Makefile @@ -23,7 +23,7 @@ $(MAN_PAGE).$(MAN_SECTION): flags.xsl flags.xml # 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. @@ -45,11 +45,6 @@ install-docs:: $(MAN_PAGE).$(MAN_SECTION) 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