Module Name: src Committed By: christos Date: Mon Nov 13 21:01:51 UTC 2023
Modified Files: src/distrib/notes: Makefile.inc Log Message: Use TOOL_DATE (Jan-Benedict Glaw) To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/distrib/notes/Makefile.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/distrib/notes/Makefile.inc diff -u src/distrib/notes/Makefile.inc:1.57 src/distrib/notes/Makefile.inc:1.58 --- src/distrib/notes/Makefile.inc:1.57 Wed Dec 8 08:06:44 2021 +++ src/distrib/notes/Makefile.inc Mon Nov 13 16:01:51 2023 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.57 2021/12/08 13:06:44 uwe Exp $ +# $NetBSD: Makefile.inc,v 1.58 2023/11/13 21:01:51 christos Exp $ # # Ross Harvey <r...@netbsd.org> @@ -59,12 +59,12 @@ PRESET+= -rnextminor=${nextmin} .endif .endif .if defined(BUILDID) && "${BUILDID:M20*Z}" != "" -curdate!= env LANG="C" date -d "${BUILDID:C/[0-9][0-9][0-9][0-9]Z$//}" "+%b %d, %Y" +curdate!= env LANG="C" ${TOOL_DATE} -d "${BUILDID:C/[0-9][0-9][0-9][0-9]Z$//}" "+%b %d, %Y" .else .if ${NETBSD_OFFICIAL_RELEASE:Uno} == "yes" .error "No release date could be derived from BUILDID" .else -curdate!= env LANG="C" date ${DATE_TIMESTAMP} "+%b %d, %Y" +curdate!= env LANG="C" ${TOOL_DATE} ${DATE_TIMESTAMP} "+%b %d, %Y" .endif .endif PRESET+= -dcur_date="${curdate}"