X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=distrib%2FMakefile-bin.in;h=a7cbb4ab489d3b1248d50e69cbc2ce89454c776d;hb=13890651414e9288a83be70d95456f5eaa256aae;hp=4ab0e9a09a3493aa3c8a36af729d18b89d0bc734;hpb=7516738a036aac81e165d5e0a4973f1b1585a855;p=ghc-hetmet.git diff --git a/distrib/Makefile-bin.in b/distrib/Makefile-bin.in index 4ab0e9a..a7cbb4a 100644 --- a/distrib/Makefile-bin.in +++ b/distrib/Makefile-bin.in @@ -198,11 +198,15 @@ denounce: @echo @echo Installation of ghc-5.00 was successful. @echo To use, add $(bindir) to your PATH. - @echo Docs: - @echo " GHC User Guide is $(htmldir)/set/book-users-guide.html" - @echo " Libraries Guide is $(htmldir)/set/book-hslibs.html" - @echo " .ps form of both is in $(htmldir)/set/set.ps" - @echo + @if test -d html ; then \ + echo Docs: ;\ + echo " GHC User Guide is $(htmldir)/set/book-users-guide.html" ; \ + echo " Libraries Guide is $(htmldir)/set/book-hslibs.html" ; \ + echo " .ps form of both is in $(htmldir)/set/set.ps" ; \ + echo ; \ + else \ + echo "Warning: this binary distribution does NOT contain documentation!" ; \ + fi postinstall: if test -x "./post-install-script" ; then \ @@ -255,8 +259,8 @@ show-install-setup: .PHONY: show-install-setup install-docs install-dirs-docs install-docs : install-dirs-docs - $(CP) -r html/* $(htmldir) - $(CP) ps/set.ps $(htmldir)/set/set.ps + if test -d html ; then $(CP) -r html/* $(htmldir) ; fi + if test -f ps/set.ps ; then $(CP) ps/set.ps $(htmldir)/set/set.ps ; fi install-dirs-docs: $(INSTALL_DIR) $(htmldir)