pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc
Module Name: pkgsrc
Committed By: nia
Date: Wed Feb 24 08:16:32 UTC 2021
Modified Files:
pkgsrc/mk/scripts: genreadme.awk
pkgsrc/templates: README.all
Log Message:
genreadme: Reduce size of generated README.all
To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 pkgsrc/mk/scripts/genreadme.awk
cvs rdiff -u -r1.9 -r1.10 pkgsrc/templates/README.all
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mk/scripts/genreadme.awk
diff -u pkgsrc/mk/scripts/genreadme.awk:1.46 pkgsrc/mk/scripts/genreadme.awk:1.47
--- pkgsrc/mk/scripts/genreadme.awk:1.46 Mon Feb 22 09:32:55 2021
+++ pkgsrc/mk/scripts/genreadme.awk Wed Feb 24 08:16:32 2021
@@ -1,5 +1,5 @@
#!/usr/bin/awk -f
-# $NetBSD: genreadme.awk,v 1.46 2021/02/22 09:32:55 nia Exp $
+# $NetBSD: genreadme.awk,v 1.47 2021/02/24 08:16:32 nia Exp $
#
# Copyright (c) 2002-2021 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -417,14 +417,12 @@ END {
pkg, readme_name,
pkgdir2name[dir],
comment[dir]);
- allpkg[tot_numpkg] = sprintf("<!-- %s (for sorting) --><tr><td><a href=\"%s/%s/%s\">%s</a></td><td><a href=\"%s/%s\">%s</a></td><td>%s</td>\n",
+ # Prefix with the package name in a comment for sorting.
+ allpkg[tot_numpkg] = sprintf("<!-- %s --><dt><a href=\"%s/%s/%s\">%s</a></dt><dd>%s</dd>\n",
pkgdir2name[dir],
category, pkg,
readme_name,
pkgdir2name[dir],
- category,
- readme_name,
- category,
comment[dir]);
# we need slightly fewer escapes here since we are not gsub()-ing
# allpkg[] into the output files but just printf()-ing it.
Index: pkgsrc/templates/README.all
diff -u pkgsrc/templates/README.all:1.9 pkgsrc/templates/README.all:1.10
--- pkgsrc/templates/README.all:1.9 Mon Feb 22 09:40:48 2021
+++ pkgsrc/templates/README.all Wed Feb 24 08:16:32 2021
@@ -1,4 +1,4 @@
-<!-- $NetBSD: README.all,v 1.9 2021/02/22 09:40:48 nia Exp $ -->
+<!-- $NetBSD: README.all,v 1.10 2021/02/24 08:16:32 nia Exp $ -->
<!-- generated by pkgsrc/mk/scripts/mkreadme -->
<!doctype html>
<html lang="en">
@@ -23,10 +23,9 @@ Please select an entry for more details!
</p>
<hr>
-<table>
-<tr><th>Package <th>Category <th>Package description
+<dl>
%%PKGS%%
-</table>
+</dl>
<hr>
[
Home |
Main Index |
Thread Index |
Old Index