-# $Id: dist.mk,v 1.209 2000/07/08 19:43:10 tom Exp $
+# $Id: dist.mk,v 1.227 2000/10/20 22:28:06 tom Exp $
# Makefile for creating ncurses distributions.
#
# This only needs to be used directly as a makefile by developers, but
# These define the major/minor/patch versions of ncurses.
NCURSES_MAJOR = 5
-NCURSES_MINOR = 1
-NCURSES_PATCH = 20000708
+NCURSES_MINOR = 2
+NCURSES_PATCH = 20001021
# We don't append the patch to the version, since this only applies to releases
VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)
doc/hackguide.doc: doc/html/hackguide.html
$(DUMP2) doc/html/hackguide.html > $@
-# Note that this rule assumes the manpages were installed - it does not use
-# the copies in the build tree except to get the list of names.
+MANPROG = tbl | nroff -man
+
manhtml: MANIFEST
@rm -f doc/html/man/*.html
@mkdir -p doc/html/man
g=$${m}.html ;\
if [ -f doc/html/$$g ]; then chmod +w doc/html/$$g; fi;\
echo "Converting $$m to HTML" ;\
- man $$f | tr '\255' '-' | $(MAN2HTML) | \
+ man/edit_man.sh editing /usr/man man $$f | $(MANPROG) | tr '\255' '-' | $(MAN2HTML) | \
sed -f subst.sed |\
sed -e 's/"curses.3x.html"/"ncurses.3x.html"/g' \
> doc/html/man/$$g ;\