GNU bug report logs - #10371
Broken links in the on-line automake manual

Previous Next

Package: automake;

Reported by: Stefano Lattarini <stefano.lattarini <at> gmail.com>

Date: Mon, 26 Dec 2011 21:07:02 UTC

Severity: important

Done: Karl Berry <karl <at> freefriends.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 10371 in the body.
You can then email your comments to 10371 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-automake <at> gnu.org:
bug#10371; Package automake. (Mon, 26 Dec 2011 21:07:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefano Lattarini <stefano.lattarini <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-automake <at> gnu.org. (Mon, 26 Dec 2011 21:07:02 GMT) Full text and rfc822 format available.

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

From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
To: bug-automake <at> gnu.org
Subject: Broken links in the on-line automake manual
Date: Mon, 26 Dec 2011 22:03:50 +0100
Feeding the address of the on-line automake manual:

  <http://www.gnu.org/software/automake/manual/automake.html>

to the W3C linkchecker:

  <http://validator.w3.org/checklink>

I've found the following *broken links*:

  <http://www.gnu.org/software/automake/manual/tar.html>
  <http://www.gnu.org/software/automake/manual/make.html>
  <http://www.gnu.org/software/automake/manual/gettext.html>
  <http://www.gnu.org/software/automake/manual/libtool.html>
  <http://www.gnu.org/software/automake/manual/dejagnu.html>

Suggestions on how to best fix these would be appreciated.

Regards,
  Stefano




Severity set to 'important' from 'normal' Request was from Stefano Lattarini <stefano.lattarini <at> gmail.com> to control <at> debbugs.gnu.org. (Sun, 08 Jan 2012 09:56:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-automake <at> gnu.org:
bug#10371; Package automake. (Wed, 01 Apr 2020 01:32:01 GMT) Full text and rfc822 format available.

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

From: Karl Berry <karl <at> freefriends.org>
To: 10371 <at> debbugs.gnu.org
Subject: Re: bug#10371: Broken links in the on-line automake manual
Date: Tue, 31 Mar 2020 19:31:41 -0600
[Message part 1 (text/plain, inline)]
Hi Stefano and all -- back on your report about broken urls from 2011 :) --

    Date: Mon, 26 Dec 2011 22:03:50 +0100

    Feeding the address of the on-line automake manual:
      <http://www.gnu.org/software/automake/manual/automake.html>

    to the W3C linkchecker:
      <http://validator.w3.org/checklink>

    I've found the following *broken links*:
      <http://www.gnu.org/software/automake/manual/tar.html>
      ...

The particular urls you found at that time (all are GNU manuals) are
not a problem any more, due to the Texinfo htmlxref feature we invented
to handle references from one Texinfo manual to another.
(Doc on that, for the record: https://gnu.org/s/texinfo/manual/texinfo/html_node/HTML-Xref-Configuration.html
 Current xref file: http://ftpmirror.gnu.org/texinfo/htmlxref.cnf)
So that is all fine.

However, I took the opportunity to rerun checklink on a single-file
automake.html (make AM_MAKEINFOHTMLFLAGS="--no-headers --no-split" html)
and found plenty of other problematic links in the manual (surprisingly,
there were none in automake-history.html).

I then made a few small changes to the W3C checklink script to eliminate
useless warnings and make exclude maintenance more convenience, and
called the resulting file checklinkx for (I hope) clarity. (Mostly I did
this because I hope to reuse this work for other documents and web pages
I maintain.)

The attached patch.gz fixes the urls in automake.texi, adds checklinkx
to the contrib/ subdirectory, and a new target in doc/local.mk to invoke
it for rechecking. Here's the ChangeLog entry I've got so far, for
convenience.

Comments/criticisms/suggestions/whatever? --karl
(With thanks to Jim for pre-reviewing this work and already suggesting
plenty of good improvements.)

-----------------------------------------------------------------------------
[PATCH] doc: update urls in manual and include checklinkx script.

* doc/automake.texi: update many urls; http -> https,
search.cpan.org -> metacpan.org/pod/distribution, node names, etc.
Remove sourceware.org/cgi-bin/gnatsweb.pl and
miller.emu.id.au/pmiller/books/rmch/ as these are 404
and no good replacement is evident.
s/perl/Perl/ a couple times in text for good measure.
* contrib/checklinkx: new script, a small modification of
W3C checklink <https://validator.w3.org/checklink/docs/checklink.html>
(W3C license, which is free software), starting from version 4.81
installed from CPAN:
https://metacpan.org/pod/distribution/W3C-LinkChecker/bin/checklink.pod
* doc/local.mk (checklinkx): new target to invoke it, with variables.
* Makefile.am (EXTRA_DIST): distribute it.

[checklinkx.diff.gz (application/octet-stream, attachment)]

Information forwarded to bug-automake <at> gnu.org:
bug#10371; Package automake. (Sat, 04 Apr 2020 21:44:02 GMT) Full text and rfc822 format available.

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

From: Karl Berry <karl <at> freefriends.org>
To: 10371 <at> debbugs.gnu.org
Subject: Re: bug#10371: Broken links in the on-line automake manual
Date: Sat, 4 Apr 2020 15:43:25 -0600
    The attached patch.gz fixes the urls in automake.texi, adds checklinkx
    to the contrib/ subdirectory, and a new target in doc/local.mk to invoke
    it for rechecking. 

Hearing no objection, I pushed this change (last night, belatedly
sending this mail, sorry) and am closing this bug. -k




Reply sent to Karl Berry <karl <at> freefriends.org>:
You have taken responsibility. (Sat, 04 Apr 2020 21:44:02 GMT) Full text and rfc822 format available.

Notification sent to Stefano Lattarini <stefano.lattarini <at> gmail.com>:
bug acknowledged by developer. (Sat, 04 Apr 2020 21:44:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 03 May 2020 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 364 days ago.

Previous Next


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