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.

Full log


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)]

This bug report was last modified 1 year and 31 days ago.

Previous Next


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