Subject: pkg/5187: bison pkg doesn't add entry to info directory
To: None <>
From: Jaromir Dolecek <>
List: netbsd-bugs
Date: 03/23/1998 09:41:37
>Number:         5187
>Category:       pkg
>Synopsis:       bison pkg doesn't add entry to info directory
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 23 00:50:01 1998
>Originator:     Jaromir Dolecek
	ICS MU, Brno, Czech Republic
>Release:        1.3
System: NetBSD 1.3 NetBSD 1.3 (SARUMAN) #3: Wed Jan 21 13:29:49 MET 1998 i386

	If one installs bison pkg, appropriate info files are installed
	in ${PREFIX}/info, but there is no entry for bison in info menu.
	cd /usr/pkgsrc/devel/bison
	make install
	<notice there is no entry for bison>
	Two patches supplied - one for and the second
	for bison.texinfo. They are separated by XXXX.

---	Mon Mar 23 09:17:47 1998
+++	Mon Mar 23 09:22:07 1998
@@ -126,8 +126,9 @@
 	$(INSTALL_PROGRAM) bison $(bindir)/bison
 	$(INSTALL_DATA) bison.s1 $(datadir)/$(PFILE)
 	$(INSTALL_DATA) $(srcdir)/$(PFILE1) $(datadir)/$(PFILE1)
 	cd $(srcdir); for f in*; \
-	do $(INSTALL_DATA) $$f $(infodir)/$$f; done
+	do $(INSTALL_DATA) $$f $(infodir)/$$f; done; \
+	install-info --dir-file=$(infodir)/dir
 	-$(INSTALL_DATA) $(srcdir)/bison.1 $(mandir)/bison.$(manext)
 # Make sure all installation directories, e.g. $(bindir) actually exist by
--- bison.texinfo.orig	Mon Mar 23 09:16:35 1998
+++ bison.texinfo	Mon Mar 23 09:17:19 1998
@@ -2,6 +2,10 @@
 @comment %**start of header
 @settitle Bison 1.25
+@dircategory Programming & development tools
+* Bison: (bison).               GNU yacc(1) replacement.
+@end direntry
 @setchapternewpage odd