X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=dist.mk;h=800d188e3dfe0d7fc982fede532403e0db8272b8;hb=6641601a9dd7f34deeaa978899b3730b27635afb;hp=c9e8e91ee137c06850548328752520e3511078f8;hpb=96a4663880a73a00b11700da8a404fdd56833925;p=ncurses.git diff --git a/dist.mk b/dist.mk index c9e8e91e..800d188e 100644 --- a/dist.mk +++ b/dist.mk @@ -1,5 +1,6 @@ ############################################################################## -# Copyright (c) 1998-2019,2020 Free Software Foundation, Inc. # +# Copyright 2018-2021,2022 Thomas E. Dickey # +# Copyright 1998-2017,2018 Free Software Foundation, Inc. # # # # Permission is hereby granted, free of charge, to any person obtaining a # # copy of this software and associated documentation files (the "Software"), # @@ -25,7 +26,7 @@ # use or other dealings in this Software without prior written # # authorization. # ############################################################################## -# $Id: dist.mk,v 1.1324 2020/01/11 10:59:50 tom Exp $ +# $Id: dist.mk,v 1.1515 2022/12/03 11:17:39 tom Exp $ # Makefile for creating ncurses distributions. # # This only needs to be used directly as a makefile by developers, but @@ -36,12 +37,15 @@ SHELL = /bin/sh # These define the major/minor/patch versions of ncurses. NCURSES_MAJOR = 6 -NCURSES_MINOR = 1 -NCURSES_PATCH = 20200111 +NCURSES_MINOR = 3 +NCURSES_PATCH = 20221203 # We don't append the patch to the version, since this only applies to releases VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR) +WEBSITE = https://invisible-island.net +HOMEPAGE = $(WEBSITE)/ncurses + # The most recent html files were generated with lynx 2.8.6 (or later), using # ncurses configured with # --without-manpage-renames @@ -73,10 +77,13 @@ distclean: # Don't mess with announce.html.in unless you have lynx available! doc/html/announce.html: announce.html.in - sed 's,@VERSION@,$(VERSION),' $@ + sed \ + -e 's,@VERSION@,$(VERSION),g' \ + -e 's,@WEBSITE@,$(WEBSITE),g' \ + -e 's,@HOMEPAGE@,$(HOMEPAGE),g' $@ ANNOUNCE : doc/html/announce.html - $(DUMP) doc/html/announce.html > $@ + $(DUMP2) doc/html/announce.html > $@ doc/ncurses-intro.doc: doc/html/ncurses-intro.html $(DUMP2) doc/html/ncurses-intro.html > $@ @@ -90,7 +97,7 @@ doc/hackguide.doc: doc/html/hackguide.html # If that conflicts with the --without-manpage-renames, you can install those # in a different location using the --with-install-prefix option of the # configure script. -MANPROG = tbl | nroff -mandoc -rLL=78n -rLT=78n -Tascii +MANPROG = tbl | nroff -mandoc -rHY=0 -rLL=78n -rLT=78n -Tascii manhtml: @for f in doc/html/man/*.html; do \ @@ -119,16 +126,15 @@ manhtml: @misc/csort < subst.tmp | uniq > subst.sed @echo '/<\/TITLE>/a\' >> subst.sed @echo '\' >> subst.sed - @echo '' >> 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 '