fix Makefile bugs, improve make help quick_www www, status.html formation
Fixed errors in `1991/davidguy/Makefile`, `2000/bmeyer/Makefile` and `2012/kang/Makefile` where a multi-line `CSILENCE` make variable was not properly continued onto the next line. Improve the output of `make quick_www` and `make www` no be less verbose and more informative. Doing this allowed us to uncover some bugs in the above mentioned entry Makefiles. The `make quick_www` and `make www` no longer perform a `make gen_status`. The `make gen_top_html` rule, via `bin/gen-top-html.sh` will form `status.html` based solely on the contents of `status.md`. Only the `make gen_status` rule will modify `status.md` if needed, and then rebuild `status.html` if needed. The `status.html` file was updated to reflect the common way that `make gen_top_html` forms this file. The `make timestamp` performs a `make gen_top_html` after running `make gen_status` so that the resulting `status.html` file matches what `make quick_www` and `make www` would produce. Changed `bin/gen-top-html.sh` VERSION from "1.4.5 2024-05-19" to "1.4.6 2024-05-24" to perform the above. Improved the text written by `make help`. Added "for $TOOL" to the debug output of `bin/all-run.sh` to help identify the tool performing the action. Changed `bin/all-run.sh` VERSION from "1.3.3 2024-04-13" to "1.3.4 2024-05-24" to perform the above. Moved `make gen_other_html` after `make entry_index` and after the `make quick_entry_index` in `make quick_www` and `make www`. Perform `make quick_www` to perform the above and test under macOS. Perform `make www` to perform the above and test under macOS.
This commit is contained in:
1 parent
578651ecf4
commit
36ab67dfd3
7 files changed
+96
-54
No files matched your search
+3
-3
@@ -113,7 +113,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an
|
||||
|
||||
# set variables referenced in the usage message
|
||||
#
|
||||
export VERSION="1.3.3 2024-04-13"
|
||||
export VERSION="1.3.4 2024-05-24"
|
||||
NAME=$(basename "$0")
|
||||
export NAME
|
||||
export V_FLAG=0
|
||||
@@ -446,7 +446,7 @@ for YYYY in $(< "$TOP_FILE"); do
|
||||
# debug YYYY
|
||||
#
|
||||
if [[ $V_FLAG -ge 1 ]]; then
|
||||
echo "$0: debug[1]: starting to process year: $YYYY" 1>&2
|
||||
echo "$0: debug[1]: for $TOOL: starting to process year: $YYYY" 1>&2
|
||||
fi
|
||||
|
||||
# verify that YYYY is a readable directory
|
||||
@@ -506,7 +506,7 @@ for YYYY in $(< "$TOP_FILE"); do
|
||||
# debug YYYY
|
||||
#
|
||||
if [[ $V_FLAG -ge 3 ]]; then
|
||||
echo "$0: debug[3]: starting to process year/dir: $YYYY_DIR" 1>&2
|
||||
echo "$0: debug[3]: for $TOOL: starting to process year/dir: $YYYY_DIR" 1>&2
|
||||
fi
|
||||
|
||||
# parse YYYY_DIR
|
||||
|
||||
+2
-1
@@ -93,7 +93,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an
|
||||
|
||||
# set variables referenced in the usage message
|
||||
#
|
||||
export VERSION="1.4.5 2024-05-19"
|
||||
export VERSION="1.4.6 2024-05-24"
|
||||
NAME=$(basename "$0")
|
||||
export NAME
|
||||
export V_FLAG=0
|
||||
@@ -135,6 +135,7 @@ TOP_MD_SET+=("next/README")
|
||||
TOP_MD_SET+=("next/guidelines")
|
||||
TOP_MD_SET+=("next/rules")
|
||||
TOP_MD_SET+=("nojs-menu")
|
||||
TOP_MD_SET+=("status")
|
||||
TOP_MD_SET+=("thanks-for-help")
|
||||
declare -ag TOP_MD_SELECT_SET
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user