From 3b8371195ad747a6a64a47075a901d510ed5f0bb Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Thu, 8 Oct 1998 12:51:09 +0000 Subject: [PATCH] Fix the uninstall target; add some magic to build and install the HTML version of the manual if we can. --- doc/Makefile.in | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/doc/Makefile.in b/doc/Makefile.in index 5aec52fd1..ac4fba05a 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -34,9 +34,17 @@ DISTFILES = Makefile.in dotlock.man.in \ DOCFILES = PGP-Notes.txt applying-patches.txt devel-notes.txt \ manual.txt + +all: mutt.man dotlock.man manual.txt try-html + complete: all html -all: mutt.man dotlock.man manual.txt +# We don't ship the html stuff, but we build and install it +# if sgml2html is available. Instead of nifty autoconf magic, +# we just do this in the makefile. ;) + +try-html: + -$(MAKE) html html: manual.html @@ -61,8 +69,8 @@ dotlock.man: dotlock.man.in (cd .. ; ./config.status) uninstall: - -rm -f $(mandir)/man1/mutt.1 $(docdir)/manual.txt \ - $(docdir)/PGP-Notes.txt + -rm -f $(mandir)/man1/mutt.1 + -rm -rf $(docdir) manual.txt: manual.sgml sgml2txt -c latin manual -- 2.40.0