]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - dist.mk
ncurses 6.4 - patch 20230408
[ncurses.git] / dist.mk
diff --git a/dist.mk b/dist.mk
index e233407d64857bf78d367e85d8320880c49e0d6c..99a74f8c597b266a3518146757f3e8c6d47f997a 100644 (file)
--- a/dist.mk
+++ b/dist.mk
@@ -1,5 +1,5 @@
 ##############################################################################
-# Copyright 2018-2020,2021 Thomas E. Dickey                                  #
+# Copyright 2018-2022,2023 Thomas E. Dickey                                  #
 # Copyright 1998-2017,2018 Free Software Foundation, Inc.                    #
 #                                                                            #
 # Permission is hereby granted, free of charge, to any person obtaining a    #
@@ -26,7 +26,7 @@
 # use or other dealings in this Software without prior written               #
 # authorization.                                                             #
 ##############################################################################
-# $Id: dist.mk,v 1.1421 2021/06/19 13:03:39 tom Exp $
+# $Id: dist.mk,v 1.1534 2023/04/08 13:33:20 tom Exp $
 # Makefile for creating ncurses distributions.
 #
 # This only needs to be used directly as a makefile by developers, but
@@ -37,8 +37,8 @@ SHELL = /bin/sh
 
 # These define the major/minor/patch versions of ncurses.
 NCURSES_MAJOR = 6
-NCURSES_MINOR = 2
-NCURSES_PATCH = 20210619
+NCURSES_MINOR = 4
+NCURSES_PATCH = 20230408
 
 # We don't append the patch to the version, since this only applies to releases
 VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)
@@ -126,16 +126,15 @@ manhtml:
        @misc/csort < subst.tmp | uniq > subst.sed
        @echo '/<\/TITLE>/a\' >> subst.sed
        @echo '<link rel="author" href="mailto:bug-ncurses@gnu.org">\' >> subst.sed
-       @echo '<meta http-equiv="Content-Type" content="text\/html; charset=iso-8859-1">' >> subst.sed
        @rm -f subst.tmp
        @for f in man/*.[0-9]* ; do \
           m=`basename $$f` ;\
-          T=`egrep '^.TH' $$f|sed -e 's/^.TH //' -e s'/"//g' -e 's/[   ]\+$$//'` ; \
+          T=`$${EGREP-grep -E} '^.TH' $$f|sed -e 's/^.TH //' -e s'/"//g' -e 's/[       ]\+$$//'` ; \
           g=$${m}.html ;\
           if [ -f doc/html/$$g ]; then chmod +w doc/html/$$g; fi;\
           echo "Converting $$m to HTML" ;\
           echo '<!--' > doc/html/man/$$g ;\
-          egrep '^.\\"[^#]' $$f | \
+          $${EGREP-grep -E} '^.\\"[^#]' $$f | \
                sed     -e 's/\$$/@/g' \
                        -e 's/^.../  */' \
                        -e 's/</\&lt;/g' \