]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - Ada95/gen/Makefile.in
ncurses 6.3 - patch 20220115
[ncurses.git] / Ada95 / gen / Makefile.in
index 4d845c73b25515002f4f5525faa7fcccc552c5f5..c263581cbfaf157167e3d101936efc36f704b70a 100644 (file)
@@ -1,5 +1,5 @@
 ##############################################################################
-# Copyright 2019-2020,2021 Thomas E. Dickey                                  #
+# Copyright 2019-2021,2022 Thomas E. Dickey                                  #
 # Copyright 1998-2015,2018 Free Software Foundation, Inc.                    #
 #                                                                            #
 # Permission is hereby granted, free of charge, to any person obtaining a    #
@@ -30,7 +30,7 @@
 #  Author:  Juergen Pfeifer, 1996
 #     and:  Thomas E. Dickey, 1997
 #
-#  $Id: Makefile.in,v 1.97 2021/07/03 15:45:33 tom Exp $
+#  $Id: Makefile.in,v 1.100 2022/01/15 18:20:17 tom Exp $
 #
 .SUFFIXES:
 
@@ -104,7 +104,6 @@ GENERATE    = $(PROG_GENERATE) '@USE_ARG_SUFFIX@'
 DEL_ADAMODE    = sed -e '/^\-\-\ \ \-\*\-\ ada\ \-\*\-.*/d'
 
 GNATHTML       = `type -p gnathtml || type -p gnathtml.pl 2>/dev/null`
-GNATHP          = www.gnat.com
 
 ################################################################################
 ALIB            = @cf_ada_package@
@@ -301,23 +300,24 @@ instab.tmp : table.m4 $(GEN_SRC)
          $(M4) $(M4FLAGS) -DM4MACRO=table.m4 $$f | $(DEL_ADAMODE) >> $@ ;\
        done;
 
+TABLE_TITLE=Correspondence between ncurses C and Ada functions
+
 $(HTML_DIR)/table.html : instab.tmp
        @-touch $@
        @-chmod +w $@
-       @echo '<!DOCTYPE HTML'  > $@
-       @echo 'PUBLIC "-//IETF//DTD HTML 3.0//EN">' >> $@
-       @echo '<HTML>' >> $@
-       @echo '<HEAD>' >> $@
-       @echo '<TITLE>Correspondence between ncurses C and Ada functions</TITLE>' >>$@
-       @echo '</HEAD>' >> $@
-       @echo '<BODY>' >> $@
-       @echo '<H1>Correspondence between ncurses C and Ada functions</H1>' >>$@
-       @echo '<H2>Sorted by C function name</H2>' >>$@
-       @echo '<TABLE ALIGN=CENTER BORDER>' >>$@
-       @echo '<TR ALIGN=LEFT>' >>$@
-       @echo '<TH>C name</TH><TH>Ada name</TH><TH>man page</TH></TR>' >>$@
+       @echo '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">' > $@
+       @echo '<html>' >> $@
+       @echo '<head>' >> $@
+       @echo '<title>$(TABLE_TITLE)</title>' >>$@
+       @echo '</head>' >> $@
+       @echo '<body>' >> $@
+       @echo '<h1>$(TABLE_TITLE)</h1>' >>$@
+       @echo '<h2>Sorted by C function name</h2>' >>$@
+       @echo '<table align="center" border summary="$(TABLE_TITLE)">' >>$@
+       @echo '<tr align="left">' >>$@
+       @echo '<th>C name</th><th>Ada name</th><th>man page</th></tr>' >>$@
        @sort < instab.tmp >> $@
-       @echo '</TABLE></BODY></HTML>' >>$@
+       @echo '</table></body></html>' >>$@
        @rm -f instab.tmp
 
 adahtml:
@@ -341,7 +341,7 @@ adahtml:
        for f in html/$(ALIB)*.htm*; do \
           a=`basename $$f` ; \
           sed -e 's/You may also.*body.*//' <$$f |\
-          sed -e 's%GNAT%<A HREF="http://$(GNATHP)">GNAT</A>%g' |\
+          sed -e 's%\<GNAT\>%<strong>GNAT</strong>%g' |\
           sed -e 's%&lt;A HREF%<A HREF%g' |\
           sed -e 's%"&gt;%">%g' |\
           sed -e 's%#1A\([[:space:]]*NAME="[^"]*"\)#2%<A\1>%' |\