use include 1337.mk to hold 1337 hacker rulz

Updated 1337 hacker rulz to version 7.

Added `1337.mk` to contain the updated 1337 hacker rulz (v7).

We use an optional include of `1337.mk` (or `../1337.mk`,
or `../../1337.mk`) to include the 1337 hacker rulz.

Changed `make deep_magic` to `make more_magic`.

Changed `bin/tar-entry.sh` VERSION from "1.3.7 2024-07-22"
to "1.3.8 2024-07-23".

Changed `bin/tar-year.sh` VERSION from "1.2.5 2024-07-22"
to "1.2.6 2024-07-23".

Add `make new_entry` to `YYYY/Makefile` and `template/Makefile.year`.

Change `make new_year` to use `sort -n -u`.

Made minor debug message fixes to `bin/new-year.sh`.

Changed `bin/new-year.sh` VERSION from "1.3 2024-07-23"
to "1.3.1 2024-07-23".

Improved `bin/add-dir.sh` to update `YYYY/Makefile` with
the new entry directory name.

Changed `bin/add-dir.sh` VERSION from "1.0 2024-07-21"
to "1.1 2024-07-23".

Performed `make www` to accomplish the above and to test under macOS.
This commit is contained in:
Landon Curt Noll committed 2024-07-23 22:45:16 -07:00
1 parent 16c33c5f2f
commit dbf6921b3a
355 files changed
+2153 -24306

No files matched your search

+24 -2
View File
@@ -83,7 +83,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.7 2024-07-22"
export VERSION="1.3.8 2024-07-23"
NAME=$(basename "$0")
export NAME
export V_FLAG=0
@@ -379,7 +379,7 @@ if [[ ! -s $IOCCC_CSS ]]; then
exit 6
fi
# verify we have non-empty readable ioccc.css file
# verify we have non-empty readable var.mk file
#
export VAR_MK="var.mk"
if [[ ! -e $VAR_MK ]]; then
@@ -399,6 +399,26 @@ if [[ ! -s $VAR_MK ]]; then
exit 6
fi
# verify we have non-empty readable 1337.mk
#
export LEET_MK="1337.mk"
if [[ ! -e $LEET_MK ]]; then
echo "$0: ERROR: 1337.mk does not exist: $LEET_MK" 1>&2
exit 6
fi
if [[ ! -f $LEET_MK ]]; then
echo "$0: ERROR: 1337.mk is not a file: $LEET_MK" 1>&2
exit 6
fi
if [[ ! -r $LEET_MK ]]; then
echo "$0: ERROR: 1337.mk is not a readable file: $LEET_MK" 1>&2
exit 6
fi
if [[ ! -s $LEET_MK ]]; then
echo "$0: ERROR: 1337.mk is not a not a non-empty readable file: $LEET_MK" 1>&2
exit 6
fi
# determine the name of our tarball
#
# TARBALL - the same of the compressed tarball to verify and if needed re-build
@@ -437,6 +457,7 @@ if [[ $V_FLAG -ge 3 ]]; then
echo "$0: debug[3]: FILELIST_ENTRY_JSON_AWK=$FILELIST_ENTRY_JSON_AWK" 1>&2
echo "$0: debug[3]: IOCCC_CSS=$IOCCC_CSS" 1>&2
echo "$0: debug[3]: VAR_MK=$VAR_MK" 1>&2
echo "$0: debug[3]: LEET_MK=$LEET_MK" 1>&2
echo "$0: debug[3]: TARBALL=$TARBALL" 1>&2
echo "$0: debug[3]: REBUILD_TARBALL=$REBUILD_TARBALL" 1>&2
fi
@@ -563,6 +584,7 @@ if [[ -z $NOOP ]]; then
fi
echo "$IOCCC_CSS" >> "$TMP_MANIFEST_LIST"
echo "$VAR_MK" >> "$TMP_MANIFEST_LIST"
echo "$LEET_MK" >> "$TMP_MANIFEST_LIST"
LC_ALL=C sort -d "$TMP_MANIFEST_LIST" -o "$TMP_MANIFEST_LIST"
status="$?"
if [[ $status -ne 0 ]]; then