restore make new_entry in template/Makefile.year for bin/new-dir.sh use

This commit is contained in:
Landon Curt Noll committed 2025-06-28 21:59:27 -07:00
1 parent 276d3730a7
commit b3f3928867
1 file changed
+7
+7
View File
@@ -286,6 +286,13 @@ genpath:
# NOTE: 'Don't Panic' if you don't understand the stuff below
#############################################################
# add ${NEW_ENTRY} to the list of ${ENTRIES} and output Makefile lines to set updated ${ENTRIES} value
#
new_entry:
@(echo 'ENTRIES= '; \
(echo ${ENTRIES} ${NEW_ENTRY}) | ${TR} ' ' '\012' | ${SORT} -d -u) | \
${FMT} | ${SED} -e '2,$$s/^/\t/' -e 's/$$/ \\/' -e '$$s/ \\//'
########################
# extended utility rules