GNU bug report logs -
#60607
Making dvi target do nothing
Previous Next
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 60607 in the body.
You can then email your comments to 60607 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-automake <at> gnu.org
:
bug#60607
; Package
automake
.
(Fri, 06 Jan 2023 20:55:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Reuben Thomas <rrt <at> sc3d.org>
:
New bug report received and forwarded. Copy sent to
bug-automake <at> gnu.org
.
(Fri, 06 Jan 2023 20:55:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I'm using automake 1.16.5. The advice about how to disable the "dvi" target
doesn't seem to work.
In the manual it says:
To make ‘dvi’ into a do-nothing target, see the example for
‘EMPTY_AUTOMAKE_TARGETS’ in *note Third-Party Makefiles::.
If I have:
EMPTY_AUTOMAKE_TARGETS = dvi
.PHONY: $(EMPTY_AUTOMAKE_TARGETS)
$(EMPTY_AUTOMAKE_TARGETS):
in my Makefile.am, then "TEXI2DVI" is still run by "make distcheck".
If I instead have:
dvi:
then it is not.
--
https://rrt.sc3d.org
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-automake <at> gnu.org
:
bug#60607
; Package
automake
.
(Sat, 07 Jan 2023 07:47:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 60607 <at> debbugs.gnu.org (full text, mbox):
On 2023-01-06, Reuben Thomas via Bug reports for Automake
<bug-automake <at> gnu.org> wrote:
> I'm using automake 1.16.5. The advice about how to disable the "dvi"
> target doesn't seem to work.
>
> In the manual it says:
>
> To make ‘dvi’ into a do-nothing target, see the example for
> ‘EMPTY_AUTOMAKE_TARGETS’ in *note Third-Party Makefiles::.
>
> If I have:
>
> EMPTY_AUTOMAKE_TARGETS = dvi
> .PHONY: $(EMPTY_AUTOMAKE_TARGETS)
> $(EMPTY_AUTOMAKE_TARGETS):
>
> in my Makefile.am, then "TEXI2DVI" is still run by "make distcheck".
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.
> 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.
Cheers,
Nick
Information forwarded
to
bug-automake <at> gnu.org
:
bug#60607
; Package
automake
.
(Sat, 07 Jan 2023 11:51:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 60607 <at> debbugs.gnu.org (full text, mbox):
[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)]
Information forwarded
to
bug-automake <at> gnu.org
:
bug#60607
; Package
automake
.
(Sat, 07 Jan 2023 23:24:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 60607 <at> debbugs.gnu.org (full text, mbox):
How does this change to the doc look? --thanks, karl.
--- a/doc/automake.texi
+++ b/doc/automake.texi
@@ -8885,8 +8885,16 @@ example,
AM_DISTCHECK_DVI_TARGET = pdf
@end example
-To make @code{dvi} into a do-nothing target, see the example for
-@code{EMPTY_AUTOMAKE_TARGETS} in @ref{Third-Party Makefiles}.
+To make @code{dvi} into a do-nothing target, add it to your
+@file{Makefile.am} with no commands:
+
+@example
+dvi:
+@end example
+
+@noindent
+As usual with Automake, your user-defined target will override
+Automake's target (@pxref{Extending}).
@trindex distcheck-hook
@subheading distcheck-hook
Information forwarded
to
bug-automake <at> gnu.org
:
bug#60607
; Package
automake
.
(Sun, 08 Jan 2023 12:19:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 60607 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Sun, 8 Jan 2023 at 00:23, Karl Berry <karl <at> freefriends.org> wrote:
> How does this change to the doc look? --thanks, karl.
>
Thanks for this Karl; it certainly fixes the problem I had! (I'll leave the
assessment of technical accuracy to others.)
--
https://rrt.sc3d.org
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-automake <at> gnu.org
:
bug#60607
; Package
automake
.
(Mon, 09 Jan 2023 01:58:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 60607 <at> debbugs.gnu.org (full text, mbox):
Thanks. Pushed. -k
Reply sent
to
Karl Berry <karl <at> freefriends.org>
:
You have taken responsibility.
(Mon, 09 Jan 2023 01:58:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Reuben Thomas <rrt <at> sc3d.org>
:
bug acknowledged by developer.
(Mon, 09 Jan 2023 01:58: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
.
(Mon, 06 Feb 2023 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 86 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.