Re: gpm

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

 



Andreas Mohr <andi@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> So which variable comparison does it fail at ?

if [ "no --no-split" != "no" ]; then no --no-split /home/LFS/blfs/gpm/gpm-cvs/doc/gpm.texinfo -o /home/LFS/blfs/gpm/gpm-cvs/doc/gpm.info; fi
/bin/sh: line 1: no: command not found

you can clearly see that the command "then no" implies that if
this comparison is correct then run the command `no`
maybe the variables you mention are defaulted to `no` if
the tool is not found. apparently i didnt have a texindex tool...
from my ../Makefile.include
TEXINDEX          = no
DVIPS             = /usr/bin/dvips
MAKEINFO          = no --no-split

i think the doc/Makefile.in should really read
if [ -a $(MAKEINFO)  ]; then
or
if [ $(MAKEINFO) != "no --no-split" ]; then
instead of
if [ $(MAKEINFO) != "no" ]; then
since the Makefile.include.in defines MAKEINFO as TEXINDEX plus the
string "--no-split"

> root@note:/usr/src/system/gpm-1.20.0/doc# grep \"no\" Makefile.in
root at note? naughty! ;)

cheers!
Sam
-- 
There are two types of people in this world, good and bad.  The good
sleep better, but the bad seem to enjoy the waking hours much more.
-- Woody Allen


[Index of Archives]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Gimp]     [Yosemite News]