groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Makefile: How to create "eqn.cpp" and "eqn.hpp" as they are not rebu


From: G. Branden Robinson
Subject: Re: Makefile: How to create "eqn.cpp" and "eqn.hpp" as they are not rebuilt when removed
Date: Wed, 12 Jul 2023 22:27:39 -0500

At 2023-07-12T18:38:10+0000, Bjarni Ingi Gislason wrote:
>   In a Makefile:
> 
> maintainer-clean-generic:
>         @echo "This command is intended for maintainers to use"
>         @echo "it deletes files that may require special tools to
> rebuild."
>         -rm -f src/preproc/eqn/eqn.cpp

This is a bit vague, but it does warn you.  The language appears to me
to come from Automake.

> src/preproc/eqn/eqn.hpp: src/preproc/eqn/eqn.cpp
>       @if test ! -f $@; then rm -f src/preproc/eqn/eqn.cpp; else :; fi
>       @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) src/preproc/eqn/eqn.cpp; 
> else :; fi
> 
> -.-.
> 
>   Where are these "special tools" to rebuild files documented?
> 
>   The creation of "eqn.hpp" has strange conditions!

NEWS:

o Building groff from its distribution archive no longer requires byacc
  (or GNU Bison) to be installed.

The files that byacc/bison creates are now part of our distribution
archive, so you don't want to wipe them out on a whim.

At 2023-07-13T00:20:15+0000, Bjarni Ingi Gislason wrote:
>   I could build the missing files by using "YACC=byacc", but I usually
>   use "bison".
> 
> YACC is an environmental variable.

https://www.gnu.org/software/automake/manual/1.10/html_node/Dist.html

Regards,
Branden

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]