GNU bug report logs - #72236
generate programs' man pages in the source directory, per GCS

Previous Next

Package: diffutils;

Reported by: Bruno Haible <bruno <at> clisp.org>

Date: Sun, 21 Jul 2024 19:25:02 UTC

Severity: normal

Done: Bruno Haible <bruno <at> clisp.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 72236 in the body.
You can then email your comments to 72236 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-diffutils <at> gnu.org:
bug#72236; Package diffutils. (Sun, 21 Jul 2024 19:25:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Bruno Haible <bruno <at> clisp.org>:
New bug report received and forwarded. Copy sent to bug-diffutils <at> gnu.org. (Sun, 21 Jul 2024 19:25:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Bruno Haible <bruno <at> clisp.org>
To: bug-diffutils <at> gnu.org
Subject: generate programs' man pages in the source directory, per GCS
Date: Sun, 21 Jul 2024 21:24:25 +0200
[Message part 1 (text/plain, inline)]
The files man/*.1 are included in the tarballs. By the GNU Coding Standards
<https://www.gnu.org/prep/standards/html_node/Makefile-Basics.html>
they should be generated in the source directory.

But this is not what happens:

$ ./configure; make -k maintainer-clean
$ ./bootstrap
$ mkdir bb
$ cd bb
$ ../configure
$ make
$ ls -l ../man/*.1
ls: cannot access '../man/*.1': No such file or directory
$ ls -l man/*.1
-rw-rw-r-- 1 bruno bruno 2245 21. Jul 21:12 man/cmp.1
-rw-rw-r-- 1 bruno bruno 6469 21. Jul 21:12 man/diff.1
-rw-rw-r-- 1 bruno bruno 2858 21. Jul 21:12 man/diff3.1
-rw-rw-r-- 1 bruno bruno 2869 21. Jul 21:12 man/sdiff.1

This patch fixes it.

With it, the result is:

$ ls -l ../man/*.1
-rw-rw-r-- 1 bruno bruno 2245 21. Jul 21:16 ../man/cmp.1
-rw-rw-r-- 1 bruno bruno 6469 21. Jul 21:16 ../man/diff.1
-rw-rw-r-- 1 bruno bruno 2858 21. Jul 21:16 ../man/diff3.1
-rw-rw-r-- 1 bruno bruno 2869 21. Jul 21:16 ../man/sdiff.1
$ ls -l man/*.1
ls: cannot access 'man/*.1': No such file or directory

[0001-build-Generate-programs-man-pages-in-the-source-dire.patch (text/x-patch, attachment)]

Information forwarded to bug-diffutils <at> gnu.org:
bug#72236; Package diffutils. (Mon, 22 Jul 2024 15:01:02 GMT) Full text and rfc822 format available.

Message #8 received at 72236 <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: Bruno Haible <bruno <at> clisp.org>
Cc: 72236 <at> debbugs.gnu.org
Subject: Re: [bug-diffutils] bug#72236: generate programs' man pages in the
 source directory, per GCS
Date: Mon, 22 Jul 2024 08:00:02 -0700
On Sun, Jul 21, 2024 at 12:25 PM Bruno Haible <bruno <at> clisp.org> wrote:
> The files man/*.1 are included in the tarballs. By the GNU Coding Standards
> <https://www.gnu.org/prep/standards/html_node/Makefile-Basics.html>
> they should be generated in the source directory.
>
> But this is not what happens:
>
> $ ./configure; make -k maintainer-clean
> $ ./bootstrap
> $ mkdir bb
> $ cd bb
> $ ../configure
> $ make
> $ ls -l ../man/*.1
> ls: cannot access '../man/*.1': No such file or directory
> $ ls -l man/*.1
> -rw-rw-r-- 1 bruno bruno 2245 21. Jul 21:12 man/cmp.1
> -rw-rw-r-- 1 bruno bruno 6469 21. Jul 21:12 man/diff.1
> -rw-rw-r-- 1 bruno bruno 2858 21. Jul 21:12 man/diff3.1
> -rw-rw-r-- 1 bruno bruno 2869 21. Jul 21:12 man/sdiff.1
>
> This patch fixes it.
>
> With it, the result is:
>
> $ ls -l ../man/*.1
> -rw-rw-r-- 1 bruno bruno 2245 21. Jul 21:16 ../man/cmp.1
> -rw-rw-r-- 1 bruno bruno 6469 21. Jul 21:16 ../man/diff.1
> -rw-rw-r-- 1 bruno bruno 2858 21. Jul 21:16 ../man/diff3.1
> -rw-rw-r-- 1 bruno bruno 2869 21. Jul 21:16 ../man/sdiff.1
> $ ls -l man/*.1
> ls: cannot access 'man/*.1': No such file or directory

Thank you for reporting and fixing that. I've applied your patch with
one small change: replace a sequence of TAB-then-8-spaces used for
Makefile indentation with TAB-TAB, to avoid "make distcheck" failure.




Reply sent to Bruno Haible <bruno <at> clisp.org>:
You have taken responsibility. (Mon, 22 Jul 2024 16:08:02 GMT) Full text and rfc822 format available.

Notification sent to Bruno Haible <bruno <at> clisp.org>:
bug acknowledged by developer. (Mon, 22 Jul 2024 16:08:02 GMT) Full text and rfc822 format available.

Message #13 received at 72236-done <at> debbugs.gnu.org (full text, mbox):

From: Bruno Haible <bruno <at> clisp.org>
To: Jim Meyering <jim <at> meyering.net>
Cc: 72236-done <at> debbugs.gnu.org
Subject: Re: [bug-diffutils] bug#72236: generate programs' man pages in the
 source directory, per GCS
Date: Mon, 22 Jul 2024 18:07:06 +0200
Jim Meyering wrote:
> I've applied your patch with one small change

https://git.savannah.gnu.org/gitweb/?p=diffutils.git;a=commitdiff;h=7f9bf95640db00aaf82125799429732b99c5f730

Marking as done.







bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 20 Aug 2024 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 58 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.