improve genpath rule in year level Makefiles

The genpath rule uses `${RM}` to remove files, and touches `.tmp.genpath` after removing it.

Updated "_YYYY/Makefile_" files, and the `template/Makefile.year` template.

Updated year level tarballs to incorporate the modified "_YYYY/Makefile_" file.

Updated sitemap.

Tested the above via `make update` on macOS.
This commit is contained in:
Landon Curt Noll committed 2025-05-17 15:34:56 -07:00
1 parent 15272deb26
commit 665a46ef4a
56 files changed
+149 -122

No files matched your search

BIN
View File
Binary file not shown.
+3 -2
View File
@@ -232,12 +232,13 @@ clobber:
genpath:
@echo '=-=-= IOCCC begin make $@ =-=-='
@${RM} -f .tmp.genpath
@${TOUCH} .tmp.genpath
@-for i in ${ENTRIES}; do \
echo "${YEAR}/$$i" >> .tmp.genpath; \
rm -f "$$i/.tmp.genpath"; \
${RM} -f "$$i/.tmp.genpath"; \
echo "${YEAR}/$$i" >> "$$i/.tmp.genpath"; \
if ${CMP} -s "$$i/.tmp.genpath" "$$i/.path"; then \
rm -f "$$i/.tmp.genpath"; \
${RM} -f "$$i/.tmp.genpath"; \
echo "$$i/.path already up to date"; \
else \
${MV} -f "$$i/.tmp.genpath" "$$i/.path"; \