]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - dist.mk
ncurses 6.2 - patch 20200531
[ncurses.git] / dist.mk
diff --git a/dist.mk b/dist.mk
index 0e00ff4eb55a32aec0d30b3e2dc029c3f39d1c88..6bfdbd5ecdc2ec25bec0ae4ca52f6ec46b76101e 100644 (file)
--- a/dist.mk
+++ b/dist.mk
@@ -1,5 +1,6 @@
 ##############################################################################
-# Copyright (c) 1998-2018,2019 Free Software Foundation, Inc.                #
+# Copyright 2018-2019,2020 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.1266 2019/02/09 15:12:47 tom Exp $
+# $Id: dist.mk,v 1.1354 2020/05/31 18:56:59 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 = 20190209
+NCURSES_MINOR = 2
+NCURSES_PATCH = 20200531
 
 # 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),' <announce.html.in > $@
+       sed \
+               -e 's,@VERSION@,$(VERSION),g' \
+               -e 's,@WEBSITE@,$(WEBSITE),g' \
+               -e 's,@HOMEPAGE@,$(HOMEPAGE),g' <announce.html.in > $@
 
 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 > $@
@@ -118,7 +125,7 @@ manhtml:
        @echo 's/<\/I>/<\/EM>/g'     >> subst.tmp
        @misc/csort < subst.tmp | uniq > subst.sed
        @echo '/<\/TITLE>/a\' >> subst.sed
-       @echo '<link rev=made href="mailto:bug-ncurses@gnu.org">\' >> 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 \