Use @dircategory and @direntry to define the DIR entry.
@c ----------------------------------------------------
-@ignore
-@ifinfo
-@format
-START-INFO-DIR-ENTRY
-* Emacs Lisp Intro: (emacs-lisp-intro).
+@dircategory Emacs
+@direntry
+* Emacs Lisp Intro: (eintr).
A simple introduction to Emacs Lisp programming.
-END-INFO-DIR-ENTRY
-@end format
-@end ifinfo
-@end ignore
+@end direntry
@ifinfo
This is an introduction to @cite{Programming in Emacs Lisp}, for
@comment node-name, next, previous, up
@unnumbered Index
-@ifnottex
+@ignore
MENU ENTRY: NODE NAME.
-@end ifnottex
+@end ignore
@printindex cp