Hi Jim,
Jim Meyering <jim <at> meyering.net> writes:
> Subject: [PATCH] avoid "make distcheck" failure due to src/Makefile.am
>
> * src/Makefile.am (cu_install_program): Define to $(INSTALL_PROGRAM),
> not obsolescent @address@hidden
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -467,7 +467,7 @@ sc_tight_scope: $(all_programs)
>
> # Use the just-built ./ginstall, when not cross-compiling.
> if CROSS_COMPILING
> -cu_install_program = @INSTALL_PROGRAM@
> +cu_install_program = $(INSTALL_PROGRAM)
> else
> cu_install_program = ./ginstall
> endif
This cannot work: INSTALL_PROGRAM is defined as $(cu_install_program).
So you have a loop.
Please Cc: me on replies.
Cheers,
Ralf