Re: automake variable prefix 'check_'

2021-02-02 Thread John Calcote
On Tue, Feb 2, 2021 at 11:46 AM Zack Weinberg  wrote:

> On Tue, Feb 2, 2021 at 1:24 PM DUDZIAK Krzysztof
>  wrote:
> > As one can't find string "distcheck" in GCS
>
> By GCS do you mean the GNU Coding Standards?
>
> > it looks like it wasn't GCS
> > which constitutes support and usage of `distcheck' target.
> > Maybe it is POSIX, or UNIX.
>
> As far as I know, the distcheck target was invented by automake. It
> probably should be added to the GNU Coding Standards, if it's not
> there already, but I don't know if anyone is working on that document
> anymore.
>
> > I wonder if recipe to build `distcheck' target
> > as compiled by automake gets same form as John Calcote
> > describes it in chapter 3 his Practitioner's Guide (2nd ed.).
>
> I have not read this book. Since it was published ten years ago,
> anything it describes may well be out of date.  I don't think
> distcheck has changed much in that time, but I could be wrong.
>
>
The second edition was published in 2019, so more like a year and a half
ago.
It's pretty up to date even with 2.70 as I tried to consider changes that
had been made in
the repository that had yet to be published.

John


Re: PLV, PSV in manual

2021-02-02 Thread John Calcote
Zack,

These are terms I made up when I wrote the No Starch Press Autotools book -
the manual had no existing name for these concepts, so I just contrived
names for them.

John

On Tue, Feb 2, 2021 at 11:39 AM Zack Weinberg  wrote:

> On Tue, Feb 2, 2021 at 1:19 PM DUDZIAK Krzysztof
>  wrote:
> > Isn't it that strange if for manual* following searches for a string
> result in no matches?
> > search for "PLV"
> > search for "PSV"
> > search for "Product List Variable"
> > search for "Product Source Variable"
>
> I've never heard these terms before and don't know what they mean. Can
> you please explain what these terms mean and what you expected the
> automake manual to have to say about them?
>
> zw
>
>


Re: automake variable prefix 'check_'

2021-02-02 Thread Zack Weinberg
On Tue, Feb 2, 2021 at 1:24 PM DUDZIAK Krzysztof
 wrote:
> As one can't find string "distcheck" in GCS

By GCS do you mean the GNU Coding Standards?

> it looks like it wasn't GCS
> which constitutes support and usage of `distcheck' target.
> Maybe it is POSIX, or UNIX.

As far as I know, the distcheck target was invented by automake. It
probably should be added to the GNU Coding Standards, if it's not
there already, but I don't know if anyone is working on that document
anymore.

> I wonder if recipe to build `distcheck' target
> as compiled by automake gets same form as John Calcote
> describes it in chapter 3 his Practitioner's Guide (2nd ed.).

I have not read this book. Since it was published ten years ago,
anything it describes may well be out of date.  I don't think
distcheck has changed much in that time, but I could be wrong.

> For one Makefile generated by autotools in one of my last projects
> I see building `check' target is included in `distcheck' recipe.
> If yes, all products prefixed with `check_'  would be built also
> when `make distcheck' command is run.

Yes, this is intentional. I don't think I understand what your question is.

zw



Re: PLV, PSV in manual

2021-02-02 Thread Zack Weinberg
On Tue, Feb 2, 2021 at 1:19 PM DUDZIAK Krzysztof
 wrote:
> Isn't it that strange if for manual* following searches for a string result 
> in no matches?
> search for "PLV"
> search for "PSV"
> search for "Product List Variable"
> search for "Product Source Variable"

I've never heard these terms before and don't know what they mean. Can
you please explain what these terms mean and what you expected the
automake manual to have to say about them?

zw



automake variable prefix 'check_'

2021-02-02 Thread DUDZIAK Krzysztof
Hello,
As one can't find string "distcheck" in GCS it looks like it wasn't GCS
which constitutes support and usage of `distcheck' target.
Maybe it is POSIX, or UNIX.

I wonder if recipe to build `distcheck' target
as compiled by automake gets same form as John Calcote
describes it in chapter 3 his Practitioner's Guide (2nd ed.).
For one Makefile generated by autotools in one of my last projects
I see building `check' target is included in `distcheck' recipe.
If yes, all products prefixed with `check_'  would be built also
when `make distcheck' command is run. Please refer to
automake manual ch. 3.3 paragraph 3rd from bottom.

Regards
k.d.



PLV, PSV in manual

2021-02-02 Thread DUDZIAK Krzysztof
Hi,

Isn't it that strange if for manual* following searches for a string result in 
no matches?
search for "PLV"
search for "PSV"
search for "Product List Variable"
search for "Product Source Variable"

*) https://www.gnu.org/software/automake/manual/automake.html

Regards
k.d.