diff options
author | hubertf <hubertf@pkgsrc.org> | 1999-10-22 00:54:23 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 1999-10-22 00:54:23 +0000 |
commit | 3e15e3b2f7b121760426c4207d56142bcd0dc9eb (patch) | |
tree | b3fb105258e7a190829b951c8748c008163dbfb5 /Makefile | |
parent | 8955a8a3b1cda3d73d385914a1702a0ef661d292 (diff) | |
download | pkgsrc-3e15e3b2f7b121760426c4207d56142bcd0dc9eb.tar.gz |
Include the total number of packages at the top of README-all.html, and
lose the <TD VALIGN=TOP> entries (the <TR VALIGN=TOP> should be sufficient).
Suggested by David Brownlee <abs@mono.org> on tech-pkg@netbsd.org.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 1999/08/23 21:37:28 hubertf Exp $ +# $NetBSD: Makefile,v 1.27 1999/10/22 00:54:23 hubertf Exp $ # FreeBSD Id: Makefile,v 1.35 1997/08/19 07:10:01 fenner Exp # @@ -103,15 +103,20 @@ README-all.html: | sed -e 's|"|"${category}/|' \ -e 's| <TD>| <TD>(<A HREF="${category}/README.html">${category}</A>) <TD>|' \ -e 's|<TR>|<TR VALIGN=TOP>|' \ + -e 's|<TD VALIGN=TOP>|<TD>|' \ >> $@.new ; \ fi .endfor @echo "." @sort -t '">' +2 <$@.new >$@.newsorted + @wc -l $@.newsorted | awk '{ print $$1 }' >$@.npkgs @cat templates/README.all \ | ${SED} \ + -e '/%%NPKGS%%/r$@.npkgs' \ + -e '/%%NPKGS%%/d' \ -e '/%%PKGS%%/r$@.newsorted' \ -e '/%%PKGS%%/d' \ > $@ + @rm -f $@.npkgs @rm -f $@.new @rm -f $@.newsorted |