]> Pileus Git - ~andy/fetchmail/commitdiff
Added web-ized manual page.
authorEric S. Raymond <esr@thyrsus.com>
Sun, 1 Aug 1999 05:25:49 +0000 (05:25 -0000)
committerEric S. Raymond <esr@thyrsus.com>
Sun, 1 Aug 1999 05:25:49 +0000 (05:25 -0000)
svn path=/trunk/; revision=2525

Makefile.in

index 423498a994dcdf857ca3d76608fae38608e2f077..9b3a5f855baf8e15f29ce1fb524da7b2cacb7869 100644 (file)
@@ -168,7 +168,7 @@ clean:
        -rm -f fetchmail *.o core fetchmail.dvi \
               rcfile_l.c rcfile_y.h rcfile_y.c \
               fetchmail.tar fetchmail.tar.gz \
-              netrc rfc822 unmime
+              netrc rfc822 unmime fetchmail-man.html
 
 distclean: clean 
        @POMAKE@ distclean
@@ -253,8 +253,16 @@ NOTES: design-notes.html
        echo "   (This document was generated from design-notes.html)" >NOTES
        lynx -dump -nolist design-notes.html | grep -v "Back to " >NOTES
 
+# man2html chokes and dies on this man page
+fetchmail-man.html: fetchmail.man
+       echo "<pre>"                               >fetchmail-man.html
+       groff -man -Tascii -P-b -P-u fetchmail.man >>fetchmail-man.html
+       echo "</pre>"                              >>fetchmail-man.html
+
 # Make distribution, update LSM with proper size, remake distribution
-dist: Makefile.in  
+# (Making fetchmail-man.html is a kluge to ensure that it will be
+# available when I upload the distribution.)
+dist: Makefile.in fetchmail-man.html
        rm -f MANIFEST; make MANIFEST;
        touch fetchmail.lsm
        make fetchmail-$(VERSION).tar.gz