]> granicus.if.org Git - mutt/commitdiff
Fix the uninstall target; add some magic to build and install the
authorThomas Roessler <roessler@does-not-exist.org>
Thu, 8 Oct 1998 12:51:09 +0000 (12:51 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Thu, 8 Oct 1998 12:51:09 +0000 (12:51 +0000)
HTML version of the manual if we can.

doc/Makefile.in

index 5aec52fd1203a4adfa3d634c40d86d34b11b4f2c..ac4fba05afbb4c13bda2e2e4c5a9e83abf9a7876 100644 (file)
@@ -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