[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] groff 1.19.1 compile/installation failure
From: |
MARSHALL Keith |
Subject: |
Re: [Groff] groff 1.19.1 compile/installation failure |
Date: |
Tue, 18 May 2004 13:10:46 +0100 |
Larry Jones wrote:
> Keith Marshall writes:
>>
>> shdeps.sed: shdeps.sh
>> $(SHELL) $< "$(RT_SEP)" "$(SH_SEP)"
"$(bindir)" > $@
>
> $< is the *implied* source file -- it's only valid in an inference rule,
> not an explicit rule. Since there's just a single source file, you
> should be able to use $? instead.
Yes, having just read the 'make' manpage on a Solaris box, I pretty much
came to this conclusion myself. The Solaris manpage doesn't say that $< is
invalid in an explicit rule, just warns that it may not be reliable.
Anyway, since our objective is to make groff build on as many systems as
possible, perhaps to achieve maximum reliability, we should simply rewrite
this rule as explicitly as possible, i.e.
shdeps.sed: shdeps.sh
$(SHELL) shdeps.sh "$(RT_SEP" "$(SH_SEP)" "$(bindir)" >
shdeps.sed
The change needs to be made to line 25 of src/arch/misc/Makefile.sub, in
the groff-1.19.1 source tree. An appropriate patch is attached; to apply
it, cd to the top groff-1.19.1 source directory, and
patch -p2 < shdeps.patch
Best regards,
Keith.
shdeps.patch
Description: Binary data
Re: [Groff] groff 1.19.1 compile/installation failure, Werner LEMBERG, 2004/05/27
Re: [Groff] groff 1.19.1 compile/installation failure, MARSHALL Keith, 2004/05/19