Magellan Linux

Diff of /trunk/mage/usr/lib/mage/mkinfodir

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 32 by niro, Wed Jan 5 05:08:01 2005 UTC revision 33 by niro, Thu Jan 6 02:57:12 2005 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2  # $Id: mkinfodir,v 1.1 2005-01-05 05:08:01 niro Exp $  # $Id: mkinfodir,v 1.2 2005-01-06 02:57:03 niro Exp $
3  # Generate the top-level Info node, given a directory of Info files  # Generate the top-level Info node, given a directory of Info files
4  # and (optionally) a skeleton file.  The output will be suitable for a  # and (optionally) a skeleton file.  The output will be suitable for a
5  # top-level dir file.  The skeleton file contains info topic names in the  # top-level dir file.  The skeleton file contains info topic names in the
# Line 21  Line 21 
21  # modified 7 April 1995 by Joe Harrington <jh@tecate.gsfc.nasa.gov> to  # modified 7 April 1995 by Joe Harrington <jh@tecate.gsfc.nasa.gov> to
22  # take special flags  # take special flags
23    
24  # version: 0.3.6-r8  # version: 0.3.6-r9
25    
26  INFODIR=$1  INFODIR=$1
27  if [ $# = 2 ] ; then  if [ $# = 2 ] ; then
# Line 53  echo "This version was generated on `dat Line 53  echo "This version was generated on `dat
53  echo "by `whoami`@`hostname` for `(cd ${INFODIR}; pwd)`"  echo "by `whoami`@`hostname` for `(cd ${INFODIR}; pwd)`"
54    
55  cat << moobler  cat << moobler
56  \$Id: mkinfodir,v 1.1 2005-01-05 05:08:01 niro Exp $  \$Id: mkinfodir,v 1.2 2005-01-06 02:57:03 niro Exp $
57  This is the file .../info/dir, which contains the topmost node of the  This is the file .../info/dir, which contains the topmost node of the
58  Info hierarchy.  The first time you invoke Info you start off  Info hierarchy.  The first time you invoke Info you start off
59  looking at that node, which is (dir)Top.  looking at that node, which is (dir)Top.

Legend:
Removed from v.32  
changed lines
  Added in v.33