Opened 15 months ago

Last modified 15 months ago

#66838 new defect

m4 @1.4.19_1 does not install (register) its texinfo file in dir file

Reported by: ballapete (Peter "Pete" Dyballa) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: m4

Description

sh-3.2# pushd /opt/local/share/info ; for INFO in *.info ; do INFO="`echo $INFO | awk -F. '{ print $1 }'`"; printf "»» $INFO: ";  if [ `grep "\($INFO\)" dir | wc -l` -gt 0 ] ; then echo OK ; else echo "** missing **" ; fi; done

reports

»» gm4: ** missing **

All all hints of gm4 are missing in dir file.

install-info gm4.info dir

would do the job.

Change History (1)

comment:1 Changed 15 months ago by ballapete (Peter "Pete" Dyballa)

This does not work so straight forward… The cause is that the INFO-DIR-SECTION of the INFO file contains:

 15 INFO-DIR-SECTION Text creation and manipulation
 16 START-INFO-DIR-ENTRY
 17 * M4: (m4).                     A powerful macro processor.
 18 END-INFO-DIR-ENTRY

and so the info utility is directed to a file m4.info which does not actually exist.

Note: See TracTickets for help on using tickets.