This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [info] problem


Carfield,

On Tue, Oct 24, 2000 at 12:05:38AM +0800, Carfield Yim wrote:
> I want to read some info document, but if I type something like:
> 
> info gcc
> 
> it reply: 
> info: dir: No such file or directory

setup.exe does not automatically run install-info for you.  Run the
attached shell script -- it will generate the dir files for you.

Jason

-- 
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corporation         Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com
#!/bin/bash

# $Id: mkinfo.sh,v 1.2 2000/10/20 15:21:29 jt Exp $

# Remove old done file, if necessary
rm -f /etc/postinstall/$(basename $0).done

# List of info directories
BaseInfoDirs=(/usr /usr/local)
InfoDirs=(${BaseInfoDirs[*]/%/\/info})

# Create/update dir files
for InfoDir in ${InfoDirs[*]}
do
	for InfoFile in $InfoDir/*info
	do
		install-info --info-dir $InfoDir $InfoFile
	done
done

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]