Re: [AD] Some Debian compatibility issues |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: Allegro Developers <conductors@xxxxxxxxxx>
- Subject: Re: [AD] Some Debian compatibility issues
- From: Grzegorz Adam Hankiewicz <gradha@xxxxxxxxxx>
- Date: Wed, 5 Jan 2000 16:54:26 +0100 (CET)
On Tue, 4 Jan 2000, Shawn Hargreaves wrote:
> But, we can always just grep the version string for "Debian" and use
> different options if that comes up.
Somehow. I cannot pipe the output of install-info to grep. However I can:
install-info --version 2> tmp; grep Debian tmp; rm tmp
That's ugly... does somebody know how to do that without piping and
without temporary files? Also, once you run grep, how do you know if the
word was found?
> Or maybe not: this is incredibly ugly, and I have a hard time believing
> that other packages do this. I don't have that many sources that come
> with info pages, but most of those that do seem to ignore the dir file
> entirely, so perhaps we ought to do the same. It's a pity not to update
> it, though, given that install-info exists and there is nothing other
> than stupid reasons for it not to work!
I would rather say go for it. I personally believe that it's a particular
case from Debian, which is _their_ fault, as I see it.
> - both you and Gorga have "Debian" in your --version messages.
Yep. However, his install-info doesn't show version number :-?
> - the install command works if you just remove the $(INFO_DIR) from the end
Yep, that works for me. I will ask Gorka for confirmation about that on
his system.
> - likewise uninstall works if you take out $(INFO_DIR)
Also correct for me.
> - installation fails if the dir file doesn't already exist
Hmmm... this is something which happened to Gorka. Let's see on my system:
mv /usr/local/info/dir /usr/local/info/ddir
At this moment info viewer keeps working, looks like the dir file at
usr/local/info/dir is some copy of usr/info/dir.
Now I do 'install-info docs/allegro.info' and it keeps working...
Huh, strange thing, my install-info/info viewer work directly with
/usr/info/dir... which _has_ to be there, they ignore the user version.
> Have I got that right? So the install command would be:
>
> install-info $(infodir)/allegro.info
>
> and to remove would be:
>
> install-info --remove $(infodir)/allegro.info
That works nicely for me.
Grzegorz Adam Hankiewicz - gradha@xxxxxxxxxx
Gogosoftware - http://welcome.to/gogosoftware/
Windows NT - Naturally Terrible.