GNU bug report logs - #60607
Making dvi target do nothing

Previous Next

Package: automake;

Reported by: Reuben Thomas <rrt <at> sc3d.org>

Date: Fri, 6 Jan 2023 20:55:02 UTC

Severity: normal

Done: Karl Berry <karl <at> freefriends.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Reuben Thomas <rrt <at> sc3d.org>
To: Nick Bowler <nbowler <at> draconx.ca>
Cc: 60607 <at> debbugs.gnu.org
Subject: bug#60607: Making dvi target do nothing
Date: Sat, 7 Jan 2023 12:50:03 +0100
[Message part 1 (text/plain, inline)]
On Sat, 7 Jan 2023 at 08:46, Nick Bowler <nbowler <at> draconx.ca> wrote:

>
> This example in the manual is talking about writing a custom
> Makefile, *without* using Automake, that you want to recurse
> into using Automake's SUBDIRS feature.
>

Aha! Thanks for pointing this out. I think the manual is misleading in
another place, because I got to this section via this cross-reference:

   To make ‘dvi’ into a do-nothing target, see the example for
‘EMPTY_AUTOMAKE_TARGETS’ in *note Third-Party Makefiles::.

This is in the section "dvi and distcheck", which AFAICT is about
Makefile.am, not third-party Makefiles.

> If I instead have:
> >
> > dvi:
> >
> > then it is not.
>
> This is right way to override the dvi target that would
> otherwise be generated by Automake.
>

So it seems that this is what the section "dvi and distcheck" should advise.

-- 
https://rrt.sc3d.org
[Message part 2 (text/html, inline)]

This bug report was last modified 2 years and 132 days ago.

Previous Next


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