Hi Bruno,

Bruno Haible via GNU coreutils General Discussion <[email protected]>
writes:

> "make distcheck" still fails. This time the error is:
>
> man/date.x
> sc_man_check_x_copyright: exceeding file size/line count limit - please add a 
> copyright note
> make[3]: *** [cfg.mk:406: sc_man_check_x_copyright] Error 1
> make[3]: Leaving directory '/home/runner/work/ci-check/ci-check/coreutils'
> make[2]: *** [dist-check.mk:108: my-distcheck] Error 2
> make[2]: Leaving directory '/home/runner/work/ci-check/ci-check/coreutils'
> make[1]: *** [Makefile:26862: distcheck-hook] Error 2
> make[1]: Leaving directory '/home/runner/work/ci-check/ci-check/coreutils'
> make: *** [Makefile:24696: distcheck] Error 1
>
> Probably you need to add a copyright notice, like in man/chmod.x or man/env.x.

Thanks, I pushed the attached patch to add one.

Here is how I determined the start date for the copyright header:

   $ git log --diff-filter=A --follow --format=%aI man/date.x
   1998-09-12T20:12:55Z

Collin

>From 6add5f97ec6026603729be95ea29742141dcc5fa Mon Sep 17 00:00:00 2001
Message-ID: <6add5f97ec6026603729be95ea29742141dcc5fa.1769482342.git.collin.fu...@gmail.com>
From: Collin Funk <[email protected]>
Date: Mon, 26 Jan 2026 18:47:17 -0800
Subject: [PATCH] maint: avoid syntax-check failure

* man/date.x: Add a copyright header to fix sc_copyright_check.
Reported by Bruno Haible.
---
 man/date.x | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/man/date.x b/man/date.x
index 46fcfe978..c0bdc41c6 100644
--- a/man/date.x
+++ b/man/date.x
@@ -1,3 +1,8 @@
+'\" Copyright (C) 1998-2026 Free Software Foundation, Inc.
+'\"
+'\" This is free software.  You may redistribute copies of it under the terms
+'\" of the GNU General Public License <https://www.gnu.org/licenses/gpl.html>.
+'\" There is NO WARRANTY, to the extent permitted by law.
 [NAME]
 date \- print or set the system date and time
 [SYNOPSIS]
-- 
2.52.0

Reply via email to