| @@ -1,15 +1,15 @@ | | | @@ -1,15 +1,15 @@ |
1 | #!/bin/sh | | 1 | #!/bin/sh |
2 | # $NetBSD: mkreadme,v 1.34 2022/04/27 22:27:55 rillig Exp $ | | 2 | # $NetBSD: mkreadme,v 1.35 2022/07/17 13:37:30 taca Exp $ |
3 | # | | 3 | # |
4 | # Script for index.html generation | | 4 | # Script for index.html generation |
5 | # | | 5 | # |
6 | # Copyright (c) 2002, 2005 The NetBSD Foundation, Inc. | | 6 | # Copyright (c) 2002, 2005 The NetBSD Foundation, Inc. |
7 | # All rights reserved. | | 7 | # All rights reserved. |
8 | # | | 8 | # |
9 | # This code is derived from software contributed to The NetBSD Foundation | | 9 | # This code is derived from software contributed to The NetBSD Foundation |
10 | # by Dan McMahill. | | 10 | # by Dan McMahill. |
11 | # | | 11 | # |
12 | # Redistribution and use in source and binary forms, with or without | | 12 | # Redistribution and use in source and binary forms, with or without |
13 | # modification, are permitted provided that the following conditions | | 13 | # modification, are permitted provided that the following conditions |
14 | # are met: | | 14 | # are met: |
15 | # 1. Redistributions of source code must retain the above copyright | | 15 | # 1. Redistributions of source code must retain the above copyright |
| @@ -404,27 +404,27 @@ else | | | @@ -404,27 +404,27 @@ else |
404 | echo " file $DATABASEFILE does not exist" | | 404 | echo " file $DATABASEFILE does not exist" |
405 | echo " " | | 405 | echo " " |
406 | exit 1 | | 406 | exit 1 |
407 | fi | | 407 | fi |
408 | fi | | 408 | fi |
409 | | | 409 | |
410 | ###################################################################### | | 410 | ###################################################################### |
411 | # | | 411 | # |
412 | # Generate the package and category index.html files | | 412 | # Generate the package and category index.html files |
413 | # | | 413 | # |
414 | ###################################################################### | | 414 | ###################################################################### |
415 | | | 415 | |
416 | echo " " | | 416 | echo " " |
417 | echo "Generating package indexx.html files" | | 417 | echo "Generating package index.html files" |
418 | echo " " | | 418 | echo " " |
419 | if [ "x$DEBUG" = "xyes" ]; then | | 419 | if [ "x$DEBUG" = "xyes" ]; then |
420 | debug=1; | | 420 | debug=1; |
421 | else | | 421 | else |
422 | debug=0; | | 422 | debug=0; |
423 | fi | | 423 | fi |
424 | | | 424 | |
425 | ${AWK} -f ${PKGSRCDIR}/mk/scripts/genreadme.awk \ | | 425 | ${AWK} -f ${PKGSRCDIR}/mk/scripts/genreadme.awk \ |
426 | builddependsfile=${TMPDIR}/pkgsrc.builddepends.debug \ | | 426 | builddependsfile=${TMPDIR}/pkgsrc.builddepends.debug \ |
427 | debug=$debug \ | | 427 | debug=$debug \ |
428 | quiet=$quiet \ | | 428 | quiet=$quiet \ |
429 | dependsfile=${TMPDIR}/pkgsrc.depends.debug \ | | 429 | dependsfile=${TMPDIR}/pkgsrc.depends.debug \ |
430 | summary=${summary} \ | | 430 | summary=${summary} \ |